File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ class FetchMoreOptions {
324324}
325325
326326/// merge fetchMore result data with earlier result data
327- typedef Map <String , dynamic >? UpdateQuery (
327+ typedef UpdateQuery = Map <String , dynamic >? Function (
328328 Map <String , dynamic >? previousResultData,
329329 Map <String , dynamic >? fetchMoreResultData,
330330);
Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ Future<WebSocketChannel> defaultConnectPlatform(
77 if (headers != null ) {
88 print ("The headers on the web are not supported" );
99 }
10- final webSocketChannel =
11- await WebSocketChannel .connect (uri, protocols: protocols);
10+ final webSocketChannel = WebSocketChannel .connect (
11+ uri,
12+ protocols: protocols,
13+ );
1214 return webSocketChannel.forGraphQL ();
1315}
You can’t perform that action at this time.
0 commit comments