| Index: pkg/dev_compiler/lib/js/common/dart_sdk.js
|
| diff --git a/pkg/dev_compiler/lib/js/common/dart_sdk.js b/pkg/dev_compiler/lib/js/common/dart_sdk.js
|
| index e67f3b503706a17f55a42dd94d18c711793785f6..2cd4714b825a7e0da09eb147c667ccd92b84260a 100644
|
| --- a/pkg/dev_compiler/lib/js/common/dart_sdk.js
|
| +++ b/pkg/dev_compiler/lib/js/common/dart_sdk.js
|
| @@ -549,6 +549,7 @@
|
| let StreamControllerOfGeoposition = () => (StreamControllerOfGeoposition = dart.constFn(async.StreamController$(html$.Geoposition)))();
|
| let _CustomEventStreamProviderOfEvent = () => (_CustomEventStreamProviderOfEvent = dart.constFn(html$._CustomEventStreamProvider$(html$.Event)))();
|
| let CompleterOfHttpRequest = () => (CompleterOfHttpRequest = dart.constFn(async.Completer$(html$.HttpRequest)))();
|
| + let dynamicToNull = () => (dynamicToNull = dart.constFn(dart.functionType(core.Null, [dart.dynamic])))();
|
| let ProgressEventTovoid = () => (ProgressEventTovoid = dart.constFn(dart.functionType(dart.void, [html$.ProgressEvent])))();
|
| let ListOfMap = () => (ListOfMap = dart.constFn(core.List$(core.Map)))();
|
| let ListOfMediaStreamTrack = () => (ListOfMediaStreamTrack = dart.constFn(core.List$(html$.MediaStreamTrack)))();
|
| @@ -654,13 +655,12 @@
|
| let dynamicToObject = () => (dynamicToObject = dart.constFn(dart.definiteFunctionType(core.Object, [dart.dynamic])))();
|
| let dynamicAnddynamicToString = () => (dynamicAnddynamicToString = dart.constFn(dart.definiteFunctionType(core.String, [dart.dynamic, dart.dynamic])))();
|
| let dynamicAndStringTobool = () => (dynamicAndStringTobool = dart.constFn(dart.definiteFunctionType(core.bool, [dart.dynamic, core.String])))();
|
| - let intAnddynamicTovoid = () => (intAnddynamicTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [core.int, dart.dynamic])))();
|
| + let intAnddynamicToNull = () => (intAnddynamicToNull = dart.constFn(dart.definiteFunctionType(core.Null, [core.int, dart.dynamic])))();
|
| let ObjectAndObjectToObject = () => (ObjectAndObjectToObject = dart.constFn(dart.definiteFunctionType(core.Object, [core.Object, core.Object])))();
|
| let StringTobool$ = () => (StringTobool$ = dart.constFn(dart.definiteFunctionType(core.bool, [core.String])))();
|
| let dynamicTobool$ = () => (dynamicTobool$ = dart.constFn(dart.definiteFunctionType(core.bool, [dart.dynamic])))();
|
| - let dynamicAnddynamicTodynamic$ = () => (dynamicAnddynamicTodynamic$ = dart.constFn(dart.definiteFunctionType(dart.dynamic, [dart.dynamic, dart.dynamic])))();
|
| - let StringAndObjectTovoid = () => (StringAndObjectTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [core.String, core.Object])))();
|
| - let dynamicAnddynamicTovoid$ = () => (dynamicAnddynamicTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [dart.dynamic, dart.dynamic])))();
|
| + let dynamicAnddynamicToNull = () => (dynamicAnddynamicToNull = dart.constFn(dart.definiteFunctionType(core.Null, [dart.dynamic, dart.dynamic])))();
|
| + let StringAndObjectToNull = () => (StringAndObjectToNull = dart.constFn(dart.definiteFunctionType(core.Null, [core.String, core.Object])))();
|
| let StringToNameValuePair = () => (StringToNameValuePair = dart.constFn(dart.definiteFunctionType(_debugger.NameValuePair, [core.String])))();
|
| let VoidTodynamic$ = () => (VoidTodynamic$ = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
|
| let StringAndString__Todynamic = () => (StringAndString__Todynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [core.String, core.String], [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic])))();
|
| @@ -674,19 +674,22 @@
|
| let FunctionTovoid = () => (FunctionTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [core.Function])))();
|
| let StringAndStringToString$ = () => (StringAndStringToString$ = dart.constFn(dart.definiteFunctionType(core.String, [core.String, core.String])))();
|
| let TypeAndStringTodynamic = () => (TypeAndStringTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [core.Type, core.String])))();
|
| + let dynamicAnddynamicTodynamic$ = () => (dynamicAnddynamicTodynamic$ = dart.constFn(dart.definiteFunctionType(dart.dynamic, [dart.dynamic, dart.dynamic])))();
|
| let dynamicAnddynamicToint = () => (dynamicAnddynamicToint = dart.constFn(dart.definiteFunctionType(core.int, [dart.dynamic, dart.dynamic])))();
|
| let ListOfEToListOfE = () => (ListOfEToListOfE = dart.constFn(dart.definiteFunctionType(E => [core.List$(E), [core.List$(E)]])))();
|
| let StringTovoid$ = () => (StringTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [core.String])))();
|
| let _IsolateContextAndFunctionTodynamic = () => (_IsolateContextAndFunctionTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [_isolate_helper._IsolateContext, core.Function])))();
|
| let VoidTobool = () => (VoidTobool = dart.constFn(dart.definiteFunctionType(core.bool, [])))();
|
| let VoidTo_IsolateContext = () => (VoidTo_IsolateContext = dart.constFn(dart.definiteFunctionType(_isolate_helper._IsolateContext, [])))();
|
| + let VoidToNull = () => (VoidToNull = dart.constFn(dart.definiteFunctionType(core.Null, [])))();
|
| + let dynamicAnddynamicTovoid$ = () => (dynamicAnddynamicTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [dart.dynamic, dart.dynamic])))();
|
| let VoidTovoid$ = () => (VoidTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [])))();
|
| - let ListToFutureOr = () => (ListToFutureOr = dart.constFn(dart.definiteFunctionType(async.FutureOr, [core.List])))();
|
| - let StringTodynamic = () => (StringTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [core.String])))();
|
| - let dynamicToFutureOr$ = () => (dynamicToFutureOr$ = dart.constFn(dart.definiteFunctionType(async.FutureOr, [dart.dynamic])))();
|
| - let TimerTovoid$ = () => (TimerTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [async.Timer])))();
|
| + let ListToNull = () => (ListToNull = dart.constFn(dart.definiteFunctionType(core.Null, [core.List])))();
|
| + let StringToNull = () => (StringToNull = dart.constFn(dart.definiteFunctionType(core.Null, [core.String])))();
|
| + let dynamicToNull$ = () => (dynamicToNull$ = dart.constFn(dart.definiteFunctionType(core.Null, [dart.dynamic])))();
|
| + let TimerToNull = () => (TimerToNull = dart.constFn(dart.definiteFunctionType(core.Null, [async.Timer])))();
|
| let dynamicToFuture = () => (dynamicToFuture = dart.constFn(dart.definiteFunctionType(async.Future, [dart.dynamic])))();
|
| - let boolTodynamic = () => (boolTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [core.bool])))();
|
| + let boolToNull = () => (boolToNull = dart.constFn(dart.definiteFunctionType(core.Null, [core.bool])))();
|
| let dynamicAndStackTraceTovoid = () => (dynamicAndStackTraceTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [dart.dynamic, core.StackTrace])))();
|
| let VoidToFuture = () => (VoidToFuture = dart.constFn(dart.definiteFunctionType(async.Future, [])))();
|
| let VoidToint = () => (VoidToint = dart.constFn(dart.definiteFunctionType(core.int, [])))();
|
| @@ -729,7 +732,7 @@
|
| let dynamicToSymbol = () => (dynamicToSymbol = dart.constFn(dart.definiteFunctionType(core.Symbol, [dart.dynamic])))();
|
| let dynamicToMapOfSymbol$dynamic = () => (dynamicToMapOfSymbol$dynamic = dart.constFn(dart.definiteFunctionType(MapOfSymbol$dynamic(), [dart.dynamic])))();
|
| let TypeAndInvocationTodynamic = () => (TypeAndInvocationTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [core.Type, core.Invocation])))();
|
| - let SymbolAnddynamicTovoid = () => (SymbolAnddynamicTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [core.Symbol, dart.dynamic])))();
|
| + let SymbolAnddynamicToNull = () => (SymbolAnddynamicToNull = dart.constFn(dart.definiteFunctionType(core.Null, [core.Symbol, dart.dynamic])))();
|
| let MapOfSymbol$dynamicTodynamic = () => (MapOfSymbol$dynamicTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [MapOfSymbol$dynamic()])))();
|
| let dynamicToTypeMirror = () => (dynamicToTypeMirror = dart.constFn(dart.definiteFunctionType(mirrors.TypeMirror, [dart.dynamic])))();
|
| let dynamicAnddynamicAnddynamicTovoid = () => (dynamicAnddynamicAnddynamicTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic])))();
|
| @@ -742,11 +745,12 @@
|
| let VoidToObject$ = () => (VoidToObject$ = dart.constFn(dart.definiteFunctionType(core.Object, [])))();
|
| let _FutureAnddynamicAnddynamicTovoid = () => (_FutureAnddynamicAnddynamicTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [async._Future, dart.dynamic, dart.dynamic])))();
|
| let ObjectToObject = () => (ObjectToObject = dart.constFn(dart.definiteFunctionType(core.Object, [core.Object])))();
|
| - let dynamic__Todynamic = () => (dynamic__Todynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [dart.dynamic], [dart.dynamic])))();
|
| + let dynamic__ToNull = () => (dynamic__ToNull = dart.constFn(dart.definiteFunctionType(core.Null, [dart.dynamic], [dart.dynamic])))();
|
| let dynamicTo_Future = () => (dynamicTo_Future = dart.constFn(dart.definiteFunctionType(async._Future, [dart.dynamic])))();
|
| let _AsyncCallbackTovoid = () => (_AsyncCallbackTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [async._AsyncCallback])))();
|
| + let FnToNull = () => (FnToNull = dart.constFn(dart.definiteFunctionType(core.Null, [VoidTovoid()])))();
|
| let _NotificationHandlerToFuture = () => (_NotificationHandlerToFuture = dart.constFn(dart.definiteFunctionType(async.Future, [async._NotificationHandler])))();
|
| - let dynamicAndStackTraceTodynamic = () => (dynamicAndStackTraceTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [dart.dynamic, core.StackTrace])))();
|
| + let dynamicAndStackTraceToNull = () => (dynamicAndStackTraceToNull = dart.constFn(dart.definiteFunctionType(core.Null, [dart.dynamic, core.StackTrace])))();
|
| let dynamic__Tovoid = () => (dynamic__Tovoid = dart.constFn(dart.definiteFunctionType(dart.void, [dart.dynamic], [core.StackTrace])))();
|
| let FnAndFnAndFnTodynamic = () => (FnAndFnAndFnTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [VoidTodynamic(), dynamicTodynamic(), ZoneBinaryCallbackOfdynamic$dynamic$StackTrace()])))();
|
| let StreamSubscriptionAnd_FutureAnddynamic__Tovoid = () => (StreamSubscriptionAnd_FutureAnddynamic__Tovoid = dart.constFn(dart.definiteFunctionType(dart.void, [async.StreamSubscription, async._Future, dart.dynamic, core.StackTrace])))();
|
| @@ -787,10 +791,11 @@
|
| let ObjectToint = () => (ObjectToint = dart.constFn(dart.definiteFunctionType(core.int, [core.Object])))();
|
| let ObjectTovoid = () => (ObjectTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [core.Object])))();
|
| let StringAndStringTovoid$ = () => (StringAndStringTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [core.String, core.String])))();
|
| - let StringAnddynamicTovoid = () => (StringAnddynamicTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [core.String, dart.dynamic])))();
|
| + let StringAnddynamicToNull = () => (StringAnddynamicToNull = dart.constFn(dart.definiteFunctionType(core.Null, [core.String, dart.dynamic])))();
|
| let MapOfString$StringAndStringToMapOfString$String = () => (MapOfString$StringAndStringToMapOfString$String = dart.constFn(dart.definiteFunctionType(MapOfString$String(), [MapOfString$String(), core.String])))();
|
| let intAndintAndintTovoid = () => (intAndintAndintTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [core.int, core.int, core.int])))();
|
| let String__Tovoid = () => (String__Tovoid = dart.constFn(dart.definiteFunctionType(dart.void, [core.String], [dart.dynamic])))();
|
| + let StringAndStringToNull = () => (StringAndStringToNull = dart.constFn(dart.definiteFunctionType(core.Null, [core.String, core.String])))();
|
| let __Tobool = () => (__Tobool = dart.constFn(dart.definiteFunctionType(core.bool, [], {when: core.bool, message: core.String})))();
|
| let String__Tovoid$ = () => (String__Tovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [core.String], {time: core.DateTime, sequenceNumber: core.int, level: core.int, name: core.String, zone: async.Zone, error: core.Object, stackTrace: core.StackTrace})))();
|
| let StringAndServiceExtensionHandlerTovoid = () => (StringAndServiceExtensionHandlerTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [core.String, developer.ServiceExtensionHandler])))();
|
| @@ -815,10 +820,10 @@
|
| let dynamicToFutureOrOfString = () => (dynamicToFutureOrOfString = dart.constFn(dart.definiteFunctionType(FutureOrOfString(), [dart.dynamic])))();
|
| let dynamicToFutureOrOfbool = () => (dynamicToFutureOrOfbool = dart.constFn(dart.definiteFunctionType(FutureOrOfbool(), [dart.dynamic])))();
|
| let dynamicToFutureOrOfint = () => (dynamicToFutureOrOfint = dart.constFn(dart.definiteFunctionType(FutureOrOfint(), [dart.dynamic])))();
|
| - let ListOfintToFutureOr = () => (ListOfintToFutureOr = dart.constFn(dart.definiteFunctionType(async.FutureOr, [ListOfint()])))();
|
| + let ListOfintToNull = () => (ListOfintToNull = dart.constFn(dart.definiteFunctionType(core.Null, [ListOfint()])))();
|
| let RandomAccessFileTovoid = () => (RandomAccessFileTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [io.RandomAccessFile])))();
|
| let RandomAccessFileToFutureOr = () => (RandomAccessFileToFutureOr = dart.constFn(dart.definiteFunctionType(async.FutureOr, [io.RandomAccessFile])))();
|
| - let ListOfintTovoid$ = () => (ListOfintTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [ListOfint()])))();
|
| + let RandomAccessFileToNull = () => (RandomAccessFileToNull = dart.constFn(dart.definiteFunctionType(core.Null, [io.RandomAccessFile])))();
|
| let RandomAccessFileToFutureOfRandomAccessFile = () => (RandomAccessFileToFutureOfRandomAccessFile = dart.constFn(dart.definiteFunctionType(FutureOfRandomAccessFile(), [io.RandomAccessFile])))();
|
| let dynamicTo_File = () => (dynamicTo_File = dart.constFn(dart.definiteFunctionType(io._File, [dart.dynamic])))();
|
| let FileSystemEntityTo_File = () => (FileSystemEntityTo_File = dart.constFn(dart.definiteFunctionType(io._File, [io.FileSystemEntity])))();
|
| @@ -835,7 +840,8 @@
|
| let dynamicToFutureOrOfListOfint = () => (dynamicToFutureOrOfListOfint = dart.constFn(dart.definiteFunctionType(FutureOrOfListOfint(), [dart.dynamic])))();
|
| let dynamicToFileStat = () => (dynamicToFileStat = dart.constFn(dart.definiteFunctionType(io.FileStat, [dart.dynamic])))();
|
| let StringAndListOfStringToListOfString = () => (StringAndListOfStringToListOfString = dart.constFn(dart.definiteFunctionType(ListOfString(), [core.String, ListOfString()])))();
|
| - let StringAndListOfStringTovoid$ = () => (StringAndListOfStringTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [core.String, ListOfString()])))();
|
| + let ListOfintTovoid$ = () => (ListOfintTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [ListOfint()])))();
|
| + let StringAndListOfStringToNull = () => (StringAndListOfStringToNull = dart.constFn(dart.definiteFunctionType(core.Null, [core.String, ListOfString()])))();
|
| let CookieToString = () => (CookieToString = dart.constFn(dart.definiteFunctionType(core.String, [io.Cookie])))();
|
| let CookieTobool = () => (CookieTobool = dart.constFn(dart.definiteFunctionType(core.bool, [io.Cookie])))();
|
| let _HttpClientRequestToFutureOfHttpClientResponse = () => (_HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.definiteFunctionType(FutureOfHttpClientResponse(), [io._HttpClientRequest])))();
|
| @@ -846,15 +852,14 @@
|
| let _CredentialsTovoid = () => (_CredentialsTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [io._Credentials])))();
|
| let _AuthenticationSchemeAndStringToFuture = () => (_AuthenticationSchemeAndStringToFuture = dart.constFn(dart.definiteFunctionType(async.Future, [io._AuthenticationScheme, core.String])))();
|
| let dynamicToFutureOrOfHttpClientResponse = () => (dynamicToFutureOrOfHttpClientResponse = dart.constFn(dart.definiteFunctionType(FutureOrOfHttpClientResponse(), [dart.dynamic])))();
|
| - let CookieTovoid = () => (CookieTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [io.Cookie])))();
|
| + let CookieToNull = () => (CookieToNull = dart.constFn(dart.definiteFunctionType(core.Null, [io.Cookie])))();
|
| let ListToFutureOrOfHttpClientResponse = () => (ListToFutureOrOfHttpClientResponse = dart.constFn(dart.definiteFunctionType(FutureOrOfHttpClientResponse(), [core.List])))();
|
| let HttpClientResponseTovoid = () => (HttpClientResponseTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [io.HttpClientResponse])))();
|
| let dynamicToIterable = () => (dynamicToIterable = dart.constFn(dart.definiteFunctionType(core.Iterable, [dart.dynamic])))();
|
| let dynamicTo_HttpOutboundMessage = () => (dynamicTo_HttpOutboundMessage = dart.constFn(dart.definiteFunctionType(io._HttpOutboundMessage, [dart.dynamic])))();
|
| let dynamicAnddynamicTo_HttpOutboundMessage = () => (dynamicAnddynamicTo_HttpOutboundMessage = dart.constFn(dart.definiteFunctionType(io._HttpOutboundMessage, [dart.dynamic, dart.dynamic])))();
|
| - let dynamic__Todynamic$ = () => (dynamic__Todynamic$ = dart.constFn(dart.definiteFunctionType(dart.dynamic, [dart.dynamic], [core.StackTrace])))();
|
| - let _HttpIncomingTovoid$ = () => (_HttpIncomingTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [io._HttpIncoming])))();
|
| - let _HttpIncomingToFutureOr = () => (_HttpIncomingToFutureOr = dart.constFn(dart.definiteFunctionType(async.FutureOr, [io._HttpIncoming])))();
|
| + let dynamic__ToNull$ = () => (dynamic__ToNull$ = dart.constFn(dart.definiteFunctionType(core.Null, [dart.dynamic], [core.StackTrace])))();
|
| + let _HttpIncomingToNull = () => (_HttpIncomingToNull = dart.constFn(dart.definiteFunctionType(core.Null, [io._HttpIncoming])))();
|
| let dynamicTo_DetachedSocket = () => (dynamicTo_DetachedSocket = dart.constFn(dart.definiteFunctionType(io._DetachedSocket, [dart.dynamic])))();
|
| let SecureSocketTo_HttpClientConnection = () => (SecureSocketTo_HttpClientConnection = dart.constFn(dart.definiteFunctionType(io._HttpClientConnection, [io.SecureSocket])))();
|
| let HttpClientResponseToFutureOfSecureSocket = () => (HttpClientResponseToFutureOfSecureSocket = dart.constFn(dart.definiteFunctionType(FutureOfSecureSocket(), [io.HttpClientResponse])))();
|
| @@ -871,8 +876,8 @@
|
| let _SiteCredentialsAnd_CredentialsTo_SiteCredentials = () => (_SiteCredentialsAnd_CredentialsTo_SiteCredentials = dart.constFn(dart.definiteFunctionType(io._SiteCredentials, [io._SiteCredentials, io._Credentials])))();
|
| let ServerSocketTo_HttpServer = () => (ServerSocketTo_HttpServer = dart.constFn(dart.definiteFunctionType(io._HttpServer, [io.ServerSocket])))();
|
| let SecureServerSocketTo_HttpServer = () => (SecureServerSocketTo_HttpServer = dart.constFn(dart.definiteFunctionType(io._HttpServer, [io.SecureServerSocket])))();
|
| - let SocketTodynamic = () => (SocketTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [io.Socket])))();
|
| - let _HttpConnectionTovoid = () => (_HttpConnectionTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [io._HttpConnection])))();
|
| + let SocketToNull = () => (SocketToNull = dart.constFn(dart.definiteFunctionType(core.Null, [io.Socket])))();
|
| + let _HttpConnectionToNull = () => (_HttpConnectionToNull = dart.constFn(dart.definiteFunctionType(core.Null, [io._HttpConnection])))();
|
| let _HttpConnectionToMap = () => (_HttpConnectionToMap = dart.constFn(dart.definiteFunctionType(core.Map, [io._HttpConnection])))();
|
| let _FileResourceInfoToMapOfString$String = () => (_FileResourceInfoToMapOfString$String = dart.constFn(dart.definiteFunctionType(MapOfString$String(), [io._FileResourceInfo])))();
|
| let _ProcessResourceInfoToMapOfString$String = () => (_ProcessResourceInfoToMapOfString$String = dart.constFn(dart.definiteFunctionType(MapOfString$String(), [io._ProcessResourceInfo])))();
|
| @@ -886,22 +891,22 @@
|
| let RawSecureSocketToSecureSocket = () => (RawSecureSocketToSecureSocket = dart.constFn(dart.definiteFunctionType(io.SecureSocket, [io.RawSecureSocket])))();
|
| let dynamicToFutureOfRawSecureSocket = () => (dynamicToFutureOfRawSecureSocket = dart.constFn(dart.definiteFunctionType(FutureOfRawSecureSocket(), [dart.dynamic])))();
|
| let RawServerSocketToRawSecureServerSocket = () => (RawServerSocketToRawSecureServerSocket = dart.constFn(dart.definiteFunctionType(io.RawSecureServerSocket, [io.RawServerSocket])))();
|
| - let RawSecureSocketToFutureOr = () => (RawSecureSocketToFutureOr = dart.constFn(dart.definiteFunctionType(async.FutureOr, [io.RawSecureSocket])))();
|
| + let RawSecureSocketToNull = () => (RawSecureSocketToNull = dart.constFn(dart.definiteFunctionType(core.Null, [io.RawSecureSocket])))();
|
| let RawSocketToFutureOfRawSecureSocket = () => (RawSocketToFutureOfRawSecureSocket = dart.constFn(dart.definiteFunctionType(FutureOfRawSecureSocket(), [io.RawSocket])))();
|
| - let _FilterStatusToFutureOr = () => (_FilterStatusToFutureOr = dart.constFn(dart.definiteFunctionType(async.FutureOr, [io._FilterStatus])))();
|
| + let _FilterStatusToNull = () => (_FilterStatusToNull = dart.constFn(dart.definiteFunctionType(core.Null, [io._FilterStatus])))();
|
| let intToint = () => (intToint = dart.constFn(dart.definiteFunctionType(core.int, [core.int])))();
|
| let dynamicTo_FilterStatus = () => (dynamicTo_FilterStatus = dart.constFn(dart.definiteFunctionType(io._FilterStatus, [dart.dynamic])))();
|
| let ListOfintAndStringTovoid = () => (ListOfintAndStringTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [ListOfint(), core.String])))();
|
| let dynamicToStdioType = () => (dynamicToStdioType = dart.constFn(dart.definiteFunctionType(io.StdioType, [dart.dynamic])))();
|
| let EventSinkTo_WebSocketProtocolTransformer = () => (EventSinkTo_WebSocketProtocolTransformer = dart.constFn(dart.definiteFunctionType(io._WebSocketProtocolTransformer, [async.EventSink])))();
|
| let WebSocketTovoid = () => (WebSocketTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [io.WebSocket])))();
|
| - let HttpRequestTovoid$ = () => (HttpRequestTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [io.HttpRequest])))();
|
| + let HttpRequestToNull = () => (HttpRequestToNull = dart.constFn(dart.definiteFunctionType(core.Null, [io.HttpRequest])))();
|
| let SocketTo_WebSocketImpl = () => (SocketTo_WebSocketImpl = dart.constFn(dart.definiteFunctionType(io._WebSocketImpl, [io.Socket])))();
|
| let StringToFuture = () => (StringToFuture = dart.constFn(dart.definiteFunctionType(async.Future, [core.String])))();
|
| let EventSinkOfListOfintTo_WebSocketOutgoingTransformer = () => (EventSinkOfListOfintTo_WebSocketOutgoingTransformer = dart.constFn(dart.definiteFunctionType(io._WebSocketOutgoingTransformer, [EventSinkOfListOfint()])))();
|
| let dynamicTo_WebSocketImpl = () => (dynamicTo_WebSocketImpl = dart.constFn(dart.definiteFunctionType(io._WebSocketImpl, [dart.dynamic])))();
|
| - let SocketToFutureOr = () => (SocketToFutureOr = dart.constFn(dart.definiteFunctionType(async.FutureOr, [io.Socket])))();
|
| let HttpClientResponseToFutureOfWebSocket = () => (HttpClientResponseToFutureOfWebSocket = dart.constFn(dart.definiteFunctionType(FutureOfWebSocket(), [io.HttpClientResponse])))();
|
| + let StringAnddynamicTovoid = () => (StringAnddynamicTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [core.String, dart.dynamic])))();
|
| let HttpClientRequestToFutureOfHttpClientResponse = () => (HttpClientRequestToFutureOfHttpClientResponse = dart.constFn(dart.definiteFunctionType(FutureOfHttpClientResponse(), [io.HttpClientRequest])))();
|
| let dynamicToMap = () => (dynamicToMap = dart.constFn(dart.definiteFunctionType(core.Map, [dart.dynamic])))();
|
| let ListToIsolate = () => (ListToIsolate = dart.constFn(dart.definiteFunctionType(isolate.Isolate, [core.List])))();
|
| @@ -920,36 +925,35 @@
|
| let VoidToMirrorSystem = () => (VoidToMirrorSystem = dart.constFn(dart.definiteFunctionType(mirrors.MirrorSystem, [])))();
|
| let ObjectToInstanceMirror = () => (ObjectToInstanceMirror = dart.constFn(dart.definiteFunctionType(mirrors.InstanceMirror, [core.Object])))();
|
| let TypeToClassMirror = () => (TypeToClassMirror = dart.constFn(dart.definiteFunctionType(mirrors.ClassMirror, [core.Type])))();
|
| - let EventTovoid$ = () => (EventTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [html$.Event])))();
|
| + let EventToNull = () => (EventToNull = dart.constFn(dart.definiteFunctionType(core.Null, [html$.Event])))();
|
| let RequestToFutureOfT = () => (RequestToFutureOfT = dart.constFn(dart.definiteFunctionType(T => [async.Future$(T), [indexed_db.Request]])))();
|
| let dynamicToTo = () => (dynamicToTo = dart.constFn(dart.definiteFunctionType(To => [To, [dart.dynamic]])))();
|
| - let EventToFutureOr = () => (EventToFutureOr = dart.constFn(dart.definiteFunctionType(async.FutureOr, [html$.Event])))();
|
| let NodeTobool$ = () => (NodeTobool$ = dart.constFn(dart.definiteFunctionType(core.bool, [html$.Node])))();
|
| let MapOfString$dynamicTobool = () => (MapOfString$dynamicTobool = dart.constFn(dart.definiteFunctionType(core.bool, [MapOfString$dynamic()])))();
|
| let UriAndListOfStringAnddynamicToFutureOfIsolate = () => (UriAndListOfStringAnddynamicToFutureOfIsolate = dart.constFn(dart.definiteFunctionType(FutureOfIsolate(), [core.Uri, ListOfString(), dart.dynamic])))();
|
| let TypeAnddynamicTodynamic = () => (TypeAnddynamicTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [core.Type, dart.dynamic])))();
|
| - let FileSystemTovoid = () => (FileSystemTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [html$.FileSystem])))();
|
| - let FileErrorTovoid = () => (FileErrorTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [html$.FileError])))();
|
| - let EntryTovoid = () => (EntryTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [html$.Entry])))();
|
| + let FileSystemToNull = () => (FileSystemToNull = dart.constFn(dart.definiteFunctionType(core.Null, [html$.FileSystem])))();
|
| + let FileErrorToNull = () => (FileErrorToNull = dart.constFn(dart.definiteFunctionType(core.Null, [html$.FileError])))();
|
| + let EntryToNull = () => (EntryToNull = dart.constFn(dart.definiteFunctionType(core.Null, [html$.Entry])))();
|
| let dynamicToCssStyleDeclaration = () => (dynamicToCssStyleDeclaration = dart.constFn(dart.definiteFunctionType(html$.CssStyleDeclaration, [dart.dynamic])))();
|
| let CssStyleDeclarationTovoid = () => (CssStyleDeclarationTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [html$.CssStyleDeclaration])))();
|
| - let MetadataTovoid = () => (MetadataTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [html$.Metadata])))();
|
| - let ListOfEntryTovoid = () => (ListOfEntryTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [ListOfEntry()])))();
|
| + let MetadataToNull = () => (MetadataToNull = dart.constFn(dart.definiteFunctionType(core.Null, [html$.Metadata])))();
|
| + let ListOfEntryToNull = () => (ListOfEntryToNull = dart.constFn(dart.definiteFunctionType(core.Null, [ListOfEntry()])))();
|
| let ElementTobool$ = () => (ElementTobool$ = dart.constFn(dart.definiteFunctionType(core.bool, [html$.Element])))();
|
| - let FileWriterTovoid = () => (FileWriterTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [html$.FileWriter])))();
|
| - let FileTovoid = () => (FileTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [html$.File])))();
|
| - let GeopositionTovoid = () => (GeopositionTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [html$.Geoposition])))();
|
| - let PositionErrorTovoid = () => (PositionErrorTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [html$.PositionError])))();
|
| + let FileWriterToNull = () => (FileWriterToNull = dart.constFn(dart.definiteFunctionType(core.Null, [html$.FileWriter])))();
|
| + let FileToNull = () => (FileToNull = dart.constFn(dart.definiteFunctionType(core.Null, [html$.File])))();
|
| + let GeopositionToNull = () => (GeopositionToNull = dart.constFn(dart.definiteFunctionType(core.Null, [html$.Geoposition])))();
|
| + let PositionErrorToNull = () => (PositionErrorToNull = dart.constFn(dart.definiteFunctionType(core.Null, [html$.PositionError])))();
|
| let HttpRequestToString = () => (HttpRequestToString = dart.constFn(dart.definiteFunctionType(core.String, [html$.HttpRequest])))();
|
| - let ProgressEventTovoid$ = () => (ProgressEventTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [html$.ProgressEvent])))();
|
| - let ListOfSourceInfoTovoid = () => (ListOfSourceInfoTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [ListOfSourceInfo()])))();
|
| - let MediaStreamTovoid = () => (MediaStreamTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [html$.MediaStream])))();
|
| - let NavigatorUserMediaErrorTovoid = () => (NavigatorUserMediaErrorTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [html$.NavigatorUserMediaError])))();
|
| - let RtcSessionDescriptionTovoid = () => (RtcSessionDescriptionTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [html$.RtcSessionDescription])))();
|
| - let RtcStatsResponseTovoid = () => (RtcStatsResponseTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [html$.RtcStatsResponse])))();
|
| + let ProgressEventToNull = () => (ProgressEventToNull = dart.constFn(dart.definiteFunctionType(core.Null, [html$.ProgressEvent])))();
|
| + let ListOfSourceInfoToNull = () => (ListOfSourceInfoToNull = dart.constFn(dart.definiteFunctionType(core.Null, [ListOfSourceInfo()])))();
|
| + let MediaStreamToNull = () => (MediaStreamToNull = dart.constFn(dart.definiteFunctionType(core.Null, [html$.MediaStream])))();
|
| + let NavigatorUserMediaErrorToNull = () => (NavigatorUserMediaErrorToNull = dart.constFn(dart.definiteFunctionType(core.Null, [html$.NavigatorUserMediaError])))();
|
| + let RtcSessionDescriptionToNull = () => (RtcSessionDescriptionToNull = dart.constFn(dart.definiteFunctionType(core.Null, [html$.RtcSessionDescription])))();
|
| + let RtcStatsResponseToNull = () => (RtcStatsResponseToNull = dart.constFn(dart.definiteFunctionType(core.Null, [html$.RtcStatsResponse])))();
|
| let OptionElementTobool = () => (OptionElementTobool = dart.constFn(dart.definiteFunctionType(core.bool, [html$.OptionElement])))();
|
| - let numTovoid = () => (numTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [core.num])))();
|
| - let BeforeUnloadEventTovoid = () => (BeforeUnloadEventTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [html$.BeforeUnloadEvent])))();
|
| + let numToNull = () => (numToNull = dart.constFn(dart.definiteFunctionType(core.Null, [core.num])))();
|
| + let BeforeUnloadEventToNull = () => (BeforeUnloadEventToNull = dart.constFn(dart.definiteFunctionType(core.Null, [html$.BeforeUnloadEvent])))();
|
| let ElementTovoid$ = () => (ElementTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [html$.Element])))();
|
| let ElementToCssClassSet = () => (ElementToCssClassSet = dart.constFn(dart.definiteFunctionType(html$.CssClassSet, [html$.Element])))();
|
| let CssClassSetImplTovoid = () => (CssClassSetImplTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [html_common.CssClassSetImpl])))();
|
| @@ -976,9 +980,9 @@
|
| let Map__Todynamic = () => (Map__Todynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [core.Map], [dynamicTovoid()])))();
|
| let ListOfStringToList = () => (ListOfStringToList = dart.constFn(dart.definiteFunctionType(core.List, [ListOfString()])))();
|
| let DateTimeTodynamic = () => (DateTimeTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [core.DateTime])))();
|
| - let dynamic__Todynamic$0 = () => (dynamic__Todynamic$0 = dart.constFn(dart.definiteFunctionType(dart.dynamic, [dart.dynamic], {mustCopy: dart.dynamic})))();
|
| + let dynamic__Todynamic = () => (dynamic__Todynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [dart.dynamic], {mustCopy: dart.dynamic})))();
|
| let NodeToElement = () => (NodeToElement = dart.constFn(dart.definiteFunctionType(html$.Element, [html$.Node])))();
|
| - let AudioBufferTovoid = () => (AudioBufferTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [web_audio.AudioBuffer])))();
|
| + let AudioBufferToNull = () => (AudioBufferToNull = dart.constFn(dart.definiteFunctionType(core.Null, [web_audio.AudioBuffer])))();
|
| dart.mixin = function(base, ...mixins) {
|
| class Mixin extends base {}
|
| for (let m of mixins) {
|
| @@ -3333,7 +3337,7 @@
|
| if (dart.notNull(this.length) <= dart.notNull(_debugger._maxSpanLength)) {
|
| this.asMap()[dartx.forEach](dart.fn((i, element) => {
|
| children[dartx.add](new _debugger.NameValuePair({name: dart.toString(dart.notNull(i) + dart.notNull(this.start)), value: element}));
|
| - }, intAnddynamicTovoid()));
|
| + }, intAnddynamicToNull()));
|
| } else {
|
| for (let i = this.start; dart.notNull(i) < dart.notNull(this.end); i = dart.notNull(i) + dart.notNull(this.subsetSize)) {
|
| let subSpan = new _debugger.IterableSpan(i, math.min(core.int)(this.end, dart.notNull(this.subsetSize) + dart.notNull(i)), this.iterable);
|
| @@ -3734,14 +3738,14 @@
|
| } else {
|
| nonGenericProperties._set(core.String._check(name), value);
|
| }
|
| - }, dynamicAnddynamicTodynamic$()));
|
| + }, dynamicAnddynamicToNull()));
|
| nonGenericProperties.forEach(dart.fn((name, value) => {
|
| if (core.Type.is(value)) {
|
| children.add(_debugger.NameValuePair._check(this.classChild(name, value)));
|
| } else {
|
| children.add(new _debugger.NameValuePair({name: name, value: value}));
|
| }
|
| - }, StringAndObjectTovoid()));
|
| + }, StringAndObjectToNull()));
|
| return children.toList();
|
| }
|
| recordGenericParameters(name, genericTypeConstructor) {
|
| @@ -3810,7 +3814,7 @@
|
| map[dartx.forEach](dart.fn((key, value) => {
|
| let entryWrapper = new _debugger.MapEntry({key: key, value: value});
|
| entries.add(new _debugger.NameValuePair({name: dart.toString(entries.length), value: entryWrapper}));
|
| - }, dynamicAnddynamicTovoid$()));
|
| + }, dynamicAnddynamicToNull()));
|
| _debugger.addMetadataChildren(object, entries);
|
| return entries.toList();
|
| }
|
| @@ -9246,11 +9250,11 @@
|
| if (_isolate_helper._MainFunctionArgs.is(entry)) {
|
| rootContext.eval(dart.fn(() => {
|
| dart.dcall(entry, args);
|
| - }, VoidTodynamic$()));
|
| + }, VoidToNull()));
|
| } else if (_isolate_helper._MainFunctionArgsMessage.is(entry)) {
|
| rootContext.eval(dart.fn(() => {
|
| dart.dcall(entry, args, null);
|
| - }, VoidTodynamic$()));
|
| + }, VoidToNull()));
|
| } else {
|
| rootContext.eval(core.Function._check(entry));
|
| }
|
| @@ -9692,7 +9696,7 @@
|
| if (!dart.test(this.runIteration())) return;
|
| async.Timer.run(next);
|
| }).bind(this);
|
| - dart.fn(next, VoidTodynamic$());
|
| + dart.fn(next, VoidToNull());
|
| next();
|
| } else {
|
| while (dart.test(this.runIteration())) {
|
| @@ -9845,7 +9849,7 @@
|
| let context = new _isolate_helper._IsolateContext();
|
| _isolate_helper._globalState.topEventLoop.enqueue(context, dart.fn(() => {
|
| _isolate_helper.IsolateNatives._startIsolate(entryPoint, ListOfString()._check(args), message, core.bool._check(isSpawnUri), core.bool._check(startPaused), isolate.SendPort._check(replyTo));
|
| - }, VoidTodynamic$()), 'worker-start');
|
| + }, VoidToNull()), 'worker-start');
|
| _isolate_helper._globalState.currentContext = context;
|
| _isolate_helper._globalState.topEventLoop.run();
|
| break;
|
| @@ -9895,9 +9899,9 @@
|
| let replyPort = dart.dindex(msg, 'replyPort');
|
| _isolate_helper.IsolateNatives.spawn(core.String._check(dart.dindex(msg, 'functionName')), core.String._check(dart.dindex(msg, 'uri')), ListOfString()._check(dart.dindex(msg, 'args')), dart.dindex(msg, 'msg'), false, core.bool._check(dart.dindex(msg, 'isSpawnUri')), core.bool._check(dart.dindex(msg, 'startPaused'))).then(dart.dynamic)(dart.fn(msg => {
|
| dart.dsend(replyPort, 'send', msg);
|
| - }, ListToFutureOr()), {onError: dart.fn(errorMessage => {
|
| + }, ListToNull()), {onError: dart.fn(errorMessage => {
|
| dart.dsend(replyPort, 'send', JSArrayOfString().of([_isolate_helper._SPAWN_FAILED_SIGNAL, errorMessage]));
|
| - }, StringTodynamic())});
|
| + }, StringToNull())});
|
| }
|
| static _log(msg) {
|
| if (dart.test(_isolate_helper._globalState.isWorker)) {
|
| @@ -9954,7 +9958,7 @@
|
| dart.assert(dart.equals(dart.dindex(msg, 0), _isolate_helper._SPAWN_FAILED_SIGNAL));
|
| completer.completeError(dart.dindex(msg, 1));
|
| }
|
| - }, dynamicToFutureOr$()));
|
| + }, dynamicToNull$()));
|
| let signalReply = port.sendPort;
|
| if (dart.test(_isolate_helper._globalState.useWorkers) && !dart.test(isLight)) {
|
| _isolate_helper.IsolateNatives._startWorker(functionName, uri, args, message, isSpawnUri, startPaused, signalReply, dart.fn(message => completer.completeError(message), StringTovoid$()));
|
| @@ -9980,7 +9984,7 @@
|
| _isolate_helper._globalState.topEventLoop.enqueue(new _isolate_helper._IsolateContext(), dart.fn(() => {
|
| let func = _isolate_helper.IsolateNatives._getJSFunctionFromName(functionName);
|
| _isolate_helper.IsolateNatives._startIsolate(core.Function._check(func), args, message, isSpawnUri, startPaused, replyPort);
|
| - }, VoidTodynamic$()), 'nonworker start');
|
| + }, VoidToNull()), 'nonworker start');
|
| }
|
| static get currentIsolate() {
|
| let context = _isolate_helper._IsolateContext._check(_foreign_helper.JS_CURRENT_ISOLATE_CONTEXT());
|
| @@ -10125,7 +10129,7 @@
|
| if (!dart.test(this[_receivePort][_isClosed])) {
|
| this[_receivePort][_add](msg);
|
| }
|
| - }, VoidTodynamic$()), dart.str`receive ${message}`);
|
| + }, VoidToNull()), dart.str`receive ${message}`);
|
| }
|
| ['=='](other) {
|
| return _isolate_helper._NativeJsSendPort.is(other) && dart.equals(this[_receivePort], other[_receivePort]);
|
| @@ -10259,13 +10263,11 @@
|
| let _EmptyStreamOfT = () => (_EmptyStreamOfT = dart.constFn(async._EmptyStream$(T)))();
|
| let StreamControllerOfT = () => (StreamControllerOfT = dart.constFn(async.StreamController$(T)))();
|
| let _StreamControllerOfT = () => (_StreamControllerOfT = dart.constFn(async._StreamController$(T)))();
|
| - let TTodynamic = () => (TTodynamic = dart.constFn(dart.functionType(dart.dynamic, [T])))();
|
| let _GeneratedStreamImplOfT = () => (_GeneratedStreamImplOfT = dart.constFn(async._GeneratedStreamImpl$(T)))();
|
| let _IterablePendingEventsOfT = () => (_IterablePendingEventsOfT = dart.constFn(async._IterablePendingEvents$(T)))();
|
| let _BoundSinkStreamOfdynamic$T = () => (_BoundSinkStreamOfdynamic$T = dart.constFn(async._BoundSinkStream$(dart.dynamic, T)))();
|
| let _AsBroadcastStreamOfT = () => (_AsBroadcastStreamOfT = dart.constFn(async._AsBroadcastStream$(T)))();
|
| let _WhereStreamOfT = () => (_WhereStreamOfT = dart.constFn(async._WhereStream$(T)))();
|
| - let TTovoid = () => (TTovoid = dart.constFn(dart.functionType(dart.void, [T])))();
|
| let _HandleErrorStreamOfT = () => (_HandleErrorStreamOfT = dart.constFn(async._HandleErrorStream$(T)))();
|
| let StreamConsumerOfT = () => (StreamConsumerOfT = dart.constFn(async.StreamConsumer$(T)))();
|
| let TAndTToT = () => (TAndTToT = dart.constFn(dart.functionType(T, [T, T])))();
|
| @@ -10280,12 +10282,14 @@
|
| let _SkipStreamOfT = () => (_SkipStreamOfT = dart.constFn(async._SkipStream$(T)))();
|
| let _SkipWhileStreamOfT = () => (_SkipWhileStreamOfT = dart.constFn(async._SkipWhileStream$(T)))();
|
| let _DistinctStreamOfT = () => (_DistinctStreamOfT = dart.constFn(async._DistinctStream$(T)))();
|
| + let TTovoid = () => (TTovoid = dart.constFn(dart.functionType(dart.void, [T])))();
|
| let EventSinkOfT = () => (EventSinkOfT = dart.constFn(async.EventSink$(T)))();
|
| let _SyncBroadcastStreamControllerOfT = () => (_SyncBroadcastStreamControllerOfT = dart.constFn(async._SyncBroadcastStreamController$(T)))();
|
| let _SyncStreamControllerOfT = () => (_SyncStreamControllerOfT = dart.constFn(async._SyncStreamController$(T)))();
|
| let StreamSubscriptionOfT = () => (StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))();
|
| let StreamSubscriptionOfTTovoid = () => (StreamSubscriptionOfTTovoid = dart.constFn(dart.functionType(dart.void, [StreamSubscriptionOfT()])))();
|
| let TTobool = () => (TTobool = dart.constFn(dart.functionType(core.bool, [T])))();
|
| + let TTodynamic = () => (TTodynamic = dart.constFn(dart.functionType(dart.dynamic, [T])))();
|
| let TAndTTobool = () => (TAndTTobool = dart.constFn(dart.functionType(core.bool, [T, T])))();
|
| let EventSinkOfTTovoid = () => (EventSinkOfTTovoid = dart.constFn(dart.functionType(dart.void, [EventSinkOfT()])))();
|
| let FutureOfT = () => (FutureOfT = dart.constFn(async.Future$(T)))();
|
| @@ -10293,11 +10297,10 @@
|
| let IterableOfT = () => (IterableOfT = dart.constFn(core.Iterable$(T)))();
|
| let intToT = () => (intToT = dart.constFn(dart.functionType(T, [core.int])))();
|
| let EventSinkOfTToEventSink = () => (EventSinkOfTToEventSink = dart.constFn(dart.functionType(async.EventSink, [EventSinkOfT()])))();
|
| - let TToFutureOr = () => (TToFutureOr = dart.constFn(dart.definiteFunctionType(async.FutureOr, [T])))();
|
| - let TTodynamic$ = () => (TTodynamic$ = dart.constFn(dart.definiteFunctionType(dart.dynamic, [T])))();
|
| + let TToNull = () => (TToNull = dart.constFn(dart.definiteFunctionType(core.Null, [T])))();
|
| let VoidTo_IterablePendingEventsOfT = () => (VoidTo_IterablePendingEventsOfT = dart.constFn(dart.definiteFunctionType(_IterablePendingEventsOfT(), [])))();
|
| - let TTovoid$ = () => (TTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [T])))();
|
| let VoidToT = () => (VoidToT = dart.constFn(dart.definiteFunctionType(T, [])))();
|
| + let TTovoid$ = () => (TTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [T])))();
|
| class Stream extends core.Object {
|
| new() {
|
| }
|
| @@ -10311,10 +10314,10 @@
|
| future.then(dart.dynamic)(dart.fn(value => {
|
| controller[_add$](value);
|
| controller[_closeUnchecked]();
|
| - }, TToFutureOr()), {onError: dart.fn((error, stackTrace) => {
|
| + }, TToNull()), {onError: dart.fn((error, stackTrace) => {
|
| controller[_addError](error, core.StackTrace._check(stackTrace));
|
| controller[_closeUnchecked]();
|
| - }, dynamicAnddynamicTodynamic$())});
|
| + }, dynamicAnddynamicToNull())});
|
| return controller.stream;
|
| }
|
| static fromFutures(futures) {
|
| @@ -10325,13 +10328,13 @@
|
| controller[_add$](value);
|
| if (--count == 0) controller[_closeUnchecked]();
|
| }
|
| - }, TTodynamic$());
|
| + }, TToNull());
|
| let onError = dart.fn((error, stack) => {
|
| if (!dart.test(controller.isClosed)) {
|
| controller[_addError](error, core.StackTrace._check(stack));
|
| if (--count == 0) controller[_closeUnchecked]();
|
| }
|
| - }, dynamicAnddynamicTodynamic$());
|
| + }, dynamicAnddynamicToNull());
|
| for (let future of futures) {
|
| count++;
|
| future.then(dart.dynamic)(onValue, {onError: onError});
|
| @@ -10368,17 +10371,17 @@
|
| dart.assert(timer == null);
|
| timer = async.Timer.periodic(period, dart.fn(timer => {
|
| sendEvent();
|
| - }, TimerTovoid$()));
|
| + }, TimerToNull()));
|
| }
|
| dart.fn(startPeriodicTimer, VoidTovoid$());
|
| controller = StreamControllerOfT().new({sync: true, onListen: dart.fn(() => {
|
| watch.start();
|
| startPeriodicTimer();
|
| - }, VoidTovoid$()), onPause: dart.fn(() => {
|
| + }, VoidToNull()), onPause: dart.fn(() => {
|
| timer.cancel();
|
| timer = null;
|
| watch.stop();
|
| - }, VoidTovoid$()), onResume: dart.fn(() => {
|
| + }, VoidToNull()), onResume: dart.fn(() => {
|
| dart.assert(timer == null);
|
| let elapsed = watch.elapsed;
|
| watch.start();
|
| @@ -10386,11 +10389,11 @@
|
| timer = null;
|
| startPeriodicTimer();
|
| sendEvent();
|
| - }, VoidTovoid$()));
|
| - }, VoidTovoid$()), onCancel: dart.fn(() => {
|
| + }, VoidToNull()));
|
| + }, VoidToNull()), onCancel: dart.fn(() => {
|
| if (timer != null) timer.cancel();
|
| timer = null;
|
| - }, VoidTodynamic$())});
|
| + }, VoidToNull())});
|
| return controller.stream;
|
| }
|
| static eventTransformed(source, mapSink) {
|
| @@ -10437,21 +10440,21 @@
|
| } else {
|
| controller.add(E.as(newValue));
|
| }
|
| - }, TTovoid$()), {onError: addError, onDone: dart.bind(controller, 'close')});
|
| + }, TToNull()), {onError: addError, onDone: dart.bind(controller, 'close')});
|
| }).bind(this);
|
| dart.fn(onListen, VoidTovoid$());
|
| if (dart.test(this.isBroadcast)) {
|
| controller = async.StreamController$(E).broadcast({onListen: onListen, onCancel: dart.fn(() => {
|
| subscription.cancel();
|
| - }, VoidTovoid$()), sync: true});
|
| + }, VoidToNull()), sync: true});
|
| } else {
|
| controller = async.StreamController$(E).new({onListen: onListen, onPause: dart.fn(() => {
|
| subscription.pause();
|
| - }, VoidTovoid$()), onResume: dart.fn(() => {
|
| + }, VoidToNull()), onResume: dart.fn(() => {
|
| subscription.resume();
|
| - }, VoidTovoid$()), onCancel: dart.fn(() => {
|
| + }, VoidToNull()), onCancel: dart.fn(() => {
|
| subscription.cancel();
|
| - }, VoidTodynamic$()), sync: true});
|
| + }, VoidToNull()), sync: true});
|
| }
|
| return controller.stream;
|
| };
|
| @@ -10477,21 +10480,21 @@
|
| subscription.pause();
|
| controller.addStream(newStream).whenComplete(dart.bind(subscription, 'resume'));
|
| }
|
| - }, TTovoid$()), {onError: dart.bind(eventSink, _addError), onDone: dart.bind(controller, 'close')});
|
| + }, TToNull()), {onError: dart.bind(eventSink, _addError), onDone: dart.bind(controller, 'close')});
|
| }).bind(this);
|
| dart.fn(onListen, VoidTovoid$());
|
| if (dart.test(this.isBroadcast)) {
|
| controller = async.StreamController$(E).broadcast({onListen: onListen, onCancel: dart.fn(() => {
|
| subscription.cancel();
|
| - }, VoidTovoid$()), sync: true});
|
| + }, VoidToNull()), sync: true});
|
| } else {
|
| controller = async.StreamController$(E).new({onListen: onListen, onPause: dart.fn(() => {
|
| subscription.pause();
|
| - }, VoidTovoid$()), onResume: dart.fn(() => {
|
| + }, VoidToNull()), onResume: dart.fn(() => {
|
| subscription.resume();
|
| - }, VoidTovoid$()), onCancel: dart.fn(() => {
|
| + }, VoidToNull()), onCancel: dart.fn(() => {
|
| subscription.cancel();
|
| - }, VoidTodynamic$()), sync: true});
|
| + }, VoidToNull()), sync: true});
|
| }
|
| return controller.stream;
|
| };
|
| @@ -10525,12 +10528,12 @@
|
| if (seenFirst) {
|
| async._runUserCode(dart.fn(() => combine(value, element), VoidToT()), dart.fn(newValue => {
|
| value = newValue;
|
| - }, TTodynamic$()), async._cancelAndErrorClosure(subscription, result));
|
| + }, TToNull()), async._cancelAndErrorClosure(subscription, result));
|
| } else {
|
| value = element;
|
| seenFirst = true;
|
| }
|
| - }, TTovoid$()), {onError: dart.bind(result, _completeError), onDone: dart.fn(() => {
|
| + }, TToNull()), {onError: dart.bind(result, _completeError), onDone: dart.fn(() => {
|
| if (!seenFirst) {
|
| try {
|
| dart.throw(_internal.IterableElementError.noElement());
|
| @@ -10542,7 +10545,7 @@
|
| } else {
|
| result[_complete](value);
|
| }
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return result;
|
| }
|
| fold(S) {
|
| @@ -10553,12 +10556,12 @@
|
| subscription = this.listen(dart.fn(element => {
|
| async._runUserCode(dart.fn(() => combine(value, element), dart.definiteFunctionType(S, [])), dart.fn(newValue => {
|
| value = newValue;
|
| - }, dart.definiteFunctionType(dart.dynamic, [S])), async._cancelAndErrorClosure(subscription, result));
|
| - }, TTovoid$()), {onError: dart.fn((e, st) => {
|
| + }, dart.definiteFunctionType(core.Null, [S])), async._cancelAndErrorClosure(subscription, result));
|
| + }, TToNull()), {onError: dart.fn((e, st) => {
|
| result[_completeError](e, core.StackTrace._check(st));
|
| - }, dynamicAnddynamicTodynamic$()), onDone: dart.fn(() => {
|
| + }, dynamicAnddynamicToNull()), onDone: dart.fn(() => {
|
| result[_complete](value);
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return result;
|
| };
|
| }
|
| @@ -10580,11 +10583,11 @@
|
| async._cancelAndErrorWithReplacement(subscription, result, e, s);
|
| }
|
|
|
| - }, TTovoid$()), {onError: dart.fn(e => {
|
| + }, TToNull()), {onError: dart.fn(e => {
|
| result[_completeError](e);
|
| - }, dynamicTodynamic$()), onDone: dart.fn(() => {
|
| + }, dynamicToNull$()), onDone: dart.fn(() => {
|
| result[_complete](buffer.toString());
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return result;
|
| }
|
| contains(needle) {
|
| @@ -10595,10 +10598,10 @@
|
| if (dart.test(isMatch)) {
|
| async._cancelAndValue(subscription, future, true);
|
| }
|
| - }, boolTodynamic()), async._cancelAndErrorClosure(subscription, future));
|
| - }, TTovoid$()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| + }, boolToNull()), async._cancelAndErrorClosure(subscription, future));
|
| + }, TToNull()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| future[_complete](false);
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return future;
|
| }
|
| forEach(action) {
|
| @@ -10606,10 +10609,10 @@
|
| let subscription = null;
|
| subscription = this.listen(dart.fn(element => {
|
| async._runUserCode(dart.fn(() => action(element), VoidTovoid$()), dart.fn(_ => {
|
| - }, dynamicTodynamic$()), async._cancelAndErrorClosure(subscription, future));
|
| - }, TTovoid$()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| + }, dynamicToNull$()), async._cancelAndErrorClosure(subscription, future));
|
| + }, TToNull()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| future[_complete](null);
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return future;
|
| }
|
| every(test) {
|
| @@ -10620,10 +10623,10 @@
|
| if (!dart.test(isMatch)) {
|
| async._cancelAndValue(subscription, future, false);
|
| }
|
| - }, boolTodynamic()), async._cancelAndErrorClosure(subscription, future));
|
| - }, TTovoid$()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| + }, boolToNull()), async._cancelAndErrorClosure(subscription, future));
|
| + }, TToNull()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| future[_complete](true);
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return future;
|
| }
|
| any(test) {
|
| @@ -10634,10 +10637,10 @@
|
| if (dart.test(isMatch)) {
|
| async._cancelAndValue(subscription, future, true);
|
| }
|
| - }, boolTodynamic()), async._cancelAndErrorClosure(subscription, future));
|
| - }, TTovoid$()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| + }, boolToNull()), async._cancelAndErrorClosure(subscription, future));
|
| + }, TToNull()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| future[_complete](false);
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return future;
|
| }
|
| get length() {
|
| @@ -10645,9 +10648,9 @@
|
| let count = 0;
|
| this.listen(dart.fn(_ => {
|
| count++;
|
| - }, TTovoid$()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| + }, TToNull()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| future[_complete](count);
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return future;
|
| }
|
| get isEmpty() {
|
| @@ -10655,9 +10658,9 @@
|
| let subscription = null;
|
| subscription = this.listen(dart.fn(_ => {
|
| async._cancelAndValue(subscription, future, false);
|
| - }, TTovoid$()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| + }, TToNull()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| future[_complete](true);
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return future;
|
| }
|
| toList() {
|
| @@ -10665,9 +10668,9 @@
|
| let future = new (_FutureOfListOfT())();
|
| this.listen(dart.fn(data => {
|
| result[dartx.add](data);
|
| - }, TTovoid$()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| + }, TToNull()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| future[_complete](result);
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return future;
|
| }
|
| toSet() {
|
| @@ -10675,9 +10678,9 @@
|
| let future = new (_FutureOfSetOfT())();
|
| this.listen(dart.fn(data => {
|
| result.add(data);
|
| - }, TTovoid$()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| + }, TToNull()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| future[_complete](result);
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return future;
|
| }
|
| drain(E) {
|
| @@ -10707,7 +10710,7 @@
|
| let subscription = null;
|
| subscription = this.listen(dart.fn(value => {
|
| async._cancelAndValue(subscription, future, value);
|
| - }, TTovoid$()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| + }, TToNull()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| try {
|
| dart.throw(_internal.IterableElementError.noElement());
|
| } catch (e) {
|
| @@ -10715,7 +10718,7 @@
|
| async._completeWithErrorCallback(future, e, s);
|
| }
|
|
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return future;
|
| }
|
| get last() {
|
| @@ -10725,7 +10728,7 @@
|
| this.listen(dart.fn(value => {
|
| foundResult = true;
|
| result = value;
|
| - }, TTovoid$()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| + }, TToNull()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| if (foundResult) {
|
| future[_complete](result);
|
| return;
|
| @@ -10737,7 +10740,7 @@
|
| async._completeWithErrorCallback(future, e, s);
|
| }
|
|
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return future;
|
| }
|
| get single() {
|
| @@ -10758,7 +10761,7 @@
|
| }
|
| foundResult = true;
|
| result = value;
|
| - }, TTovoid$()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| + }, TToNull()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| if (foundResult) {
|
| future[_complete](result);
|
| return;
|
| @@ -10770,7 +10773,7 @@
|
| async._completeWithErrorCallback(future, e, s);
|
| }
|
|
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return future;
|
| }
|
| firstWhere(test, opts) {
|
| @@ -10782,8 +10785,8 @@
|
| if (dart.test(isMatch)) {
|
| async._cancelAndValue(subscription, future, value);
|
| }
|
| - }, boolTodynamic()), async._cancelAndErrorClosure(subscription, future));
|
| - }, TTovoid$()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| + }, boolToNull()), async._cancelAndErrorClosure(subscription, future));
|
| + }, TToNull()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| if (defaultValue != null) {
|
| async._runUserCode(defaultValue, dart.bind(future, _complete), dart.bind(future, _completeError));
|
| return;
|
| @@ -10795,7 +10798,7 @@
|
| async._completeWithErrorCallback(future, e, s);
|
| }
|
|
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return future;
|
| }
|
| lastWhere(test, opts) {
|
| @@ -10810,8 +10813,8 @@
|
| foundResult = true;
|
| result = value;
|
| }
|
| - }, boolTodynamic()), async._cancelAndErrorClosure(subscription, future));
|
| - }, TTovoid$()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| + }, boolToNull()), async._cancelAndErrorClosure(subscription, future));
|
| + }, TToNull()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| if (foundResult) {
|
| future[_complete](result);
|
| return;
|
| @@ -10827,7 +10830,7 @@
|
| async._completeWithErrorCallback(future, e, s);
|
| }
|
|
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return future;
|
| }
|
| singleWhere(test) {
|
| @@ -10851,8 +10854,8 @@
|
| foundResult = true;
|
| result = value;
|
| }
|
| - }, boolTodynamic()), async._cancelAndErrorClosure(subscription, future));
|
| - }, TTovoid$()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| + }, boolToNull()), async._cancelAndErrorClosure(subscription, future));
|
| + }, TToNull()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| if (foundResult) {
|
| future[_complete](result);
|
| return;
|
| @@ -10864,7 +10867,7 @@
|
| async._completeWithErrorCallback(future, e, s);
|
| }
|
|
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return future;
|
| }
|
| elementAt(index) {
|
| @@ -10878,9 +10881,9 @@
|
| return;
|
| }
|
| elementIndex = elementIndex + 1;
|
| - }, TTovoid$()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| + }, TToNull()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => {
|
| future[_completeError](core.RangeError.index(index, this, "index", null, elementIndex));
|
| - }, VoidTovoid$()), cancelOnError: true});
|
| + }, VoidToNull()), cancelOnError: true});
|
| return future;
|
| }
|
| timeout(timeLimit, opts) {
|
| @@ -10914,7 +10917,7 @@
|
| if (onTimeout == null) {
|
| timeout = dart.fn(() => {
|
| controller.addError(new async.TimeoutException("No stream event", timeLimit), null);
|
| - }, VoidTovoid$());
|
| + }, VoidToNull());
|
| } else {
|
| let registeredOnTimeout = zone.registerUnaryCallback(dart.dynamic, EventSinkOfT())(onTimeout);
|
| let wrapper = new async._ControllerEventSinkWrapper(null);
|
| @@ -10922,7 +10925,7 @@
|
| wrapper[_sink] = controller;
|
| zone.runUnaryGuarded(dart.dynamic, EventSinkOfT())(registeredOnTimeout, wrapper);
|
| wrapper[_sink] = null;
|
| - }, VoidTovoid$());
|
| + }, VoidToNull());
|
| }
|
| subscription = this.listen(onData, {onError: onError, onDone: onDone});
|
| timer = zone.createTimer(timeLimit, timeout);
|
| @@ -10938,10 +10941,10 @@
|
| controller = dart.test(this.isBroadcast) ? new (_SyncBroadcastStreamControllerOfT())(onListen, onCancel) : new (_SyncStreamControllerOfT())(onListen, dart.fn(() => {
|
| timer.cancel();
|
| subscription.pause();
|
| - }, VoidTovoid$()), dart.fn(() => {
|
| + }, VoidToNull()), dart.fn(() => {
|
| subscription.resume();
|
| timer = zone.createTimer(timeLimit, timeout);
|
| - }, VoidTovoid$()), onCancel);
|
| + }, VoidToNull()), onCancel);
|
| return controller.stream;
|
| }
|
| }
|
| @@ -11088,7 +11091,7 @@
|
| _isolate_helper.enterJsAsync();
|
| this[_handle] = _isolate_helper.global.setInterval(dart.fn(() => {
|
| callback(this);
|
| - }, VoidTodynamic$()), milliseconds);
|
| + }, VoidToNull()), milliseconds);
|
| } else {
|
| dart.throw(new core.UnsupportedError("Periodic timer."));
|
| }
|
| @@ -12519,14 +12522,14 @@
|
| let LinkedHashMapKeyIterableOfK = () => (LinkedHashMapKeyIterableOfK = dart.constFn(_js_helper.LinkedHashMapKeyIterable$(K)))();
|
| let MappedIterableOfK$V = () => (MappedIterableOfK$V = dart.constFn(_internal.MappedIterable$(K, V)))();
|
| let MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))();
|
| - let KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.functionType(dart.void, [K, V])))();
|
| let LinkedHashMapCellOfK$V = () => (LinkedHashMapCellOfK$V = dart.constFn(_js_helper.LinkedHashMapCell$(K, V)))();
|
| let LinkedHashMapOfK$V = () => (LinkedHashMapOfK$V = dart.constFn(collection.LinkedHashMap$(K, V)))();
|
| let InternalMapOfK$V = () => (InternalMapOfK$V = dart.constFn(_js_helper.InternalMap$(K, V)))();
|
| + let KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.functionType(dart.void, [K, V])))();
|
| let VoidToV = () => (VoidToV = dart.constFn(dart.functionType(V, [])))();
|
| let KToV = () => (KToV = dart.constFn(dart.definiteFunctionType(V, [K])))();
|
| let KTobool = () => (KTobool = dart.constFn(dart.definiteFunctionType(core.bool, [K])))();
|
| - let KAndVTovoid$ = () => (KAndVTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [K, V])))();
|
| + let KAndVToNull = () => (KAndVToNull = dart.constFn(dart.definiteFunctionType(core.Null, [K, V])))();
|
| class JsLinkedHashMap extends core.Object {
|
| new() {
|
| this[_length$0] = 0;
|
| @@ -12581,7 +12584,7 @@
|
| MapOfK$V()._check(other);
|
| other[dartx.forEach](dart.fn((key, value) => {
|
| this._set(key, value);
|
| - }, KAndVTovoid$()));
|
| + }, KAndVToNull()));
|
| }
|
| _get(key) {
|
| if (dart.test(_js_helper.JsLinkedHashMap._isStringKey(key))) {
|
| @@ -13851,7 +13854,7 @@
|
| let obj = {};
|
| map[dartx.forEach](dart.fn((key, value) => {
|
| obj[_js_mirrors.getName(key)] = value;
|
| - }, SymbolAnddynamicTovoid()));
|
| + }, SymbolAnddynamicToNull()));
|
| return obj;
|
| };
|
| dart.lazyFn(_js_mirrors._toJsMap, () => MapOfSymbol$dynamicTodynamic());
|
| @@ -14066,7 +14069,7 @@
|
| constructors[dartx.forEach](dart.fn((symbol, ft) => {
|
| let name = _js_mirrors.getName(symbol);
|
| this[_declarations][dartx._set](symbol, new _js_mirrors.JsMethodMirror._constructor(this, symbol, ft));
|
| - }, SymbolAnddynamicTovoid()));
|
| + }, SymbolAnddynamicToNull()));
|
| if (dart.test(constructors[dartx.isEmpty])) {
|
| let name = 'new';
|
| let ft = _js_mirrors._defaultConstructorType(_js_mirrors._unwrap(this[_cls]));
|
| @@ -14081,23 +14084,23 @@
|
| t = dart.dindex(t, 0);
|
| }
|
| this[_declarations][dartx._set](symbol, new _js_mirrors.JsVariableMirror._(symbol, core.Type._check(_js_mirrors._wrap(t)), metadata));
|
| - }, SymbolAnddynamicTovoid()));
|
| + }, SymbolAnddynamicToNull()));
|
| let methods = _js_mirrors._getMethods(unwrapped);
|
| methods[dartx.forEach](dart.fn((symbol, ft) => {
|
| let name = _js_mirrors.getName(symbol);
|
| this[_declarations][dartx._set](symbol, new _js_mirrors.JsMethodMirror._instanceMethod(this, symbol, ft));
|
| - }, SymbolAnddynamicTovoid()));
|
| + }, SymbolAnddynamicToNull()));
|
| let getters = _js_mirrors._getGetters(unwrapped);
|
| getters[dartx.forEach](dart.fn((symbol, ft) => {
|
| let name = _js_mirrors.getName(symbol);
|
| this[_declarations][dartx._set](symbol, new _js_mirrors.JsMethodMirror._instanceMethod(this, symbol, ft));
|
| - }, SymbolAnddynamicTovoid()));
|
| + }, SymbolAnddynamicToNull()));
|
| let setters = _js_mirrors._getSetters(unwrapped);
|
| setters[dartx.forEach](dart.fn((symbol, ft) => {
|
| let name = dart.notNull(_js_mirrors.getName(symbol)) + '=';
|
| symbol = new _internal.Symbol.es6(name, _js_mirrors._getESSymbol(symbol));
|
| this[_declarations][dartx._set](symbol, new _js_mirrors.JsMethodMirror._instanceMethod(this, symbol, ft));
|
| - }, SymbolAnddynamicTovoid()));
|
| + }, SymbolAnddynamicToNull()));
|
| let staticFields = _js_mirrors._getStaticFields(unwrapped);
|
| staticFields[dartx.forEach](dart.fn((symbol, t) => {
|
| let name = _js_mirrors.getName(symbol);
|
| @@ -14107,22 +14110,22 @@
|
| t = dart.dindex(t, 0);
|
| }
|
| this[_declarations][dartx._set](symbol, new _js_mirrors.JsVariableMirror._(symbol, core.Type._check(_js_mirrors._wrap(t)), metadata));
|
| - }, SymbolAnddynamicTovoid()));
|
| + }, SymbolAnddynamicToNull()));
|
| let statics = _js_mirrors._getStatics(unwrapped);
|
| statics[dartx.forEach](dart.fn((symbol, ft) => {
|
| let name = _js_mirrors.getName(symbol);
|
| this[_declarations][dartx._set](symbol, new _js_mirrors.JsMethodMirror._staticMethod(this, symbol, ft));
|
| - }, SymbolAnddynamicTovoid()));
|
| + }, SymbolAnddynamicToNull()));
|
| let staticGetters = _js_mirrors._getStaticGetters(unwrapped);
|
| staticGetters[dartx.forEach](dart.fn((symbol, ft) => {
|
| let name = _js_mirrors.getName(symbol);
|
| this[_declarations][dartx._set](symbol, new _js_mirrors.JsMethodMirror._staticMethod(this, symbol, ft));
|
| - }, SymbolAnddynamicTovoid()));
|
| + }, SymbolAnddynamicToNull()));
|
| let staticSetters = _js_mirrors._getStaticSetters(unwrapped);
|
| staticSetters[dartx.forEach](dart.fn((symbol, ft) => {
|
| let name = _js_mirrors.getName(symbol);
|
| this[_declarations][dartx._set](symbol, new _js_mirrors.JsMethodMirror._staticMethod(this, symbol, ft));
|
| - }, SymbolAnddynamicTovoid()));
|
| + }, SymbolAnddynamicToNull()));
|
| this[_declarations] = MapOfSymbol$DeclarationMirror().unmodifiable(this[_declarations]);
|
| }
|
| return this[_declarations];
|
| @@ -17972,11 +17975,11 @@
|
| let result = new (async._Future$(E))();
|
| this[_onDone] = dart.fn(() => {
|
| result[_complete](futureValue);
|
| - }, VoidTovoid$());
|
| + }, VoidToNull());
|
| this[_onError] = dart.fn((error, stackTrace) => {
|
| this.cancel();
|
| result[_completeError](error, core.StackTrace._check(stackTrace));
|
| - }, dynamicAnddynamicTodynamic$());
|
| + }, dynamicAnddynamicToNull());
|
| return result;
|
| };
|
| }
|
| @@ -18652,7 +18655,7 @@
|
| async._SyncBroadcastStreamController$ = dart.generic(T => {
|
| let _BufferingStreamSubscriptionOfT = () => (_BufferingStreamSubscriptionOfT = dart.constFn(async._BufferingStreamSubscription$(T)))();
|
| let SynchronousStreamControllerOfT = () => (SynchronousStreamControllerOfT = dart.constFn(async.SynchronousStreamController$(T)))();
|
| - let _BufferingStreamSubscriptionOfTTovoid = () => (_BufferingStreamSubscriptionOfTTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [_BufferingStreamSubscriptionOfT()])))();
|
| + let _BufferingStreamSubscriptionOfTToNull = () => (_BufferingStreamSubscriptionOfTToNull = dart.constFn(dart.definiteFunctionType(core.Null, [_BufferingStreamSubscriptionOfT()])))();
|
| class _SyncBroadcastStreamController extends async._BroadcastStreamController$(T) {
|
| new(onListen, onCancel) {
|
| super.new(onListen, onCancel);
|
| @@ -18681,19 +18684,19 @@
|
| }
|
| this[_forEachListener](dart.fn(subscription => {
|
| subscription[_add$](data);
|
| - }, _BufferingStreamSubscriptionOfTTovoid()));
|
| + }, _BufferingStreamSubscriptionOfTToNull()));
|
| }
|
| [_sendError](error, stackTrace) {
|
| if (dart.test(this[_isEmpty])) return;
|
| this[_forEachListener](dart.fn(subscription => {
|
| subscription[_addError](error, stackTrace);
|
| - }, _BufferingStreamSubscriptionOfTTovoid()));
|
| + }, _BufferingStreamSubscriptionOfTToNull()));
|
| }
|
| [_sendDone]() {
|
| if (!dart.test(this[_isEmpty])) {
|
| this[_forEachListener](dart.fn(subscription => {
|
| subscription[_close$]();
|
| - }, _BufferingStreamSubscriptionOfTTovoid()));
|
| + }, _BufferingStreamSubscriptionOfTToNull()));
|
| } else {
|
| dart.assert(this[_doneFuture] != null);
|
| dart.assert(this[_doneFuture][_mayComplete]);
|
| @@ -18944,7 +18947,7 @@
|
| async._completeWithErrorCallback(result, e, s);
|
| }
|
|
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| return result;
|
| }
|
| static microtask(computation) {
|
| @@ -18957,7 +18960,7 @@
|
| async._completeWithErrorCallback(result, e, s);
|
| }
|
|
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| return result;
|
| }
|
| static sync(computation) {
|
| @@ -18997,7 +19000,7 @@
|
| async._completeWithErrorCallback(result, e, s);
|
| }
|
|
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| return result;
|
| }
|
| static wait(T) {
|
| @@ -19017,7 +19020,7 @@
|
| if (value != null) {
|
| async.Future.sync(dart.fn(() => {
|
| cleanUp(value);
|
| - }, VoidTodynamic$()));
|
| + }, VoidToNull()));
|
| }
|
| }
|
| }
|
| @@ -19047,13 +19050,13 @@
|
| if (cleanUp != null && value != null) {
|
| async.Future.sync(dart.fn(() => {
|
| cleanUp(value);
|
| - }, VoidTodynamic$()));
|
| + }, VoidToNull()));
|
| }
|
| if (remaining == 0 && !dart.test(eagerError)) {
|
| result[_completeError](error, stackTrace);
|
| }
|
| }
|
| - }, dart.definiteFunctionType(async.FutureOr, [T])), {onError: handleError});
|
| + }, dart.definiteFunctionType(core.Null, [T])), {onError: handleError});
|
| remaining++;
|
| }
|
| if (remaining == 0) {
|
| @@ -19078,10 +19081,10 @@
|
| let completer = async.Completer$(T).sync();
|
| let onValue = dart.fn(value => {
|
| if (!dart.test(completer.isCompleted)) completer.complete(value);
|
| - }, dart.definiteFunctionType(dart.dynamic, [T]));
|
| + }, dart.definiteFunctionType(core.Null, [T]));
|
| let onError = dart.fn((error, stack) => {
|
| if (!dart.test(completer.isCompleted)) completer.completeError(error, core.StackTrace._check(stack));
|
| - }, dynamicAnddynamicTodynamic$());
|
| + }, dynamicAnddynamicToNull());
|
| for (let future of futures) {
|
| future.then(dart.dynamic)(onValue, {onError: onError});
|
| }
|
| @@ -19104,7 +19107,7 @@
|
| } else {
|
| doneSignal[_complete](null);
|
| }
|
| - }, boolTodynamic()), {runGuarded: true});
|
| + }, boolToNull()), {runGuarded: true});
|
| dart.dcall(nextIteration, true);
|
| return doneSignal;
|
| }
|
| @@ -19457,7 +19460,7 @@
|
| let StreamOfT = () => (StreamOfT = dart.constFn(async.Stream$(T)))();
|
| let FutureOfT = () => (FutureOfT = dart.constFn(async.Future$(T)))();
|
| let TTodynamic = () => (TTodynamic = dart.constFn(dart.functionType(dart.dynamic, [T])))();
|
| - let TToFutureOr = () => (TToFutureOr = dart.constFn(dart.definiteFunctionType(async.FutureOr, [T])))();
|
| + let TToNull = () => (TToNull = dart.constFn(dart.definiteFunctionType(core.Null, [T])))();
|
| class _Future extends core.Object {
|
| new() {
|
| this[_zone] = async.Zone.current;
|
| @@ -19595,7 +19598,7 @@
|
| dart.assert(this[_isComplete]);
|
| this[_zone].scheduleMicrotask(dart.fn(() => {
|
| async._Future._propagateToListeners(this, listener);
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| }
|
| }
|
| [_prependListeners](listeners) {
|
| @@ -19623,7 +19626,7 @@
|
| listeners = this[_reverseListeners](listeners);
|
| this[_zone].scheduleMicrotask(dart.fn(() => {
|
| async._Future._propagateToListeners(this, listeners);
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| }
|
| }
|
| [_removeListeners]() {
|
| @@ -19652,16 +19655,16 @@
|
| dart.assert(target[_isPendingComplete]);
|
| target[_clearPendingComplete]();
|
| target[_complete](value);
|
| - }, dynamicToFutureOr$()), {onError: dart.fn((error, stackTrace) => {
|
| + }, dynamicToNull$()), {onError: dart.fn((error, stackTrace) => {
|
| if (stackTrace === void 0) stackTrace = null;
|
| dart.assert(target[_isPendingComplete]);
|
| target[_completeError](error, core.StackTrace._check(stackTrace));
|
| - }, dynamic__Todynamic())});
|
| + }, dynamic__ToNull())});
|
| } catch (e) {
|
| let s = dart.stackTrace(e);
|
| async.scheduleMicrotask(dart.fn(() => {
|
| target[_completeError](e, s);
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| }
|
|
|
| }
|
| @@ -19719,7 +19722,7 @@
|
| this[_setPendingComplete]();
|
| this[_zone].scheduleMicrotask(dart.fn(() => {
|
| async._Future._chainCoreFuture(coreFuture, this);
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| } else {
|
| async._Future._chainCoreFuture(coreFuture, this);
|
| }
|
| @@ -19732,14 +19735,14 @@
|
| this[_setPendingComplete]();
|
| this[_zone].scheduleMicrotask(dart.fn(() => {
|
| this[_completeWithValue](typedValue);
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| }
|
| [_asyncCompleteError](error, stackTrace) {
|
| dart.assert(!dart.test(this[_isComplete]));
|
| this[_setPendingComplete]();
|
| this[_zone].scheduleMicrotask(dart.fn(() => {
|
| this[_completeError](error, stackTrace);
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| }
|
| static _propagateToListeners(source, listeners) {
|
| while (true) {
|
| @@ -19883,7 +19886,7 @@
|
| if (onTimeout == null) {
|
| timer = async.Timer.new(timeLimit, dart.fn(() => {
|
| result[_completeError](new async.TimeoutException("Future not completed", timeLimit));
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| } else {
|
| let zone = async.Zone.current;
|
| onTimeout = zone.registerCallback(dart.dynamic)(onTimeout);
|
| @@ -19895,19 +19898,19 @@
|
| result[_completeError](e, s);
|
| }
|
|
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| }
|
| this.then(dart.dynamic)(dart.fn(v => {
|
| if (dart.test(timer.isActive)) {
|
| timer.cancel();
|
| result[_completeWithValue](v);
|
| }
|
| - }, TToFutureOr()), {onError: dart.fn((e, s) => {
|
| + }, TToNull()), {onError: dart.fn((e, s) => {
|
| if (dart.test(timer.isActive)) {
|
| timer.cancel();
|
| result[_completeError](e, core.StackTrace._check(s));
|
| }
|
| - }, dynamicAnddynamicTodynamic$())});
|
| + }, dynamicAnddynamicToNull())});
|
| return result;
|
| }
|
| }
|
| @@ -20089,7 +20092,7 @@
|
| storedCallback = null;
|
| f();
|
| }
|
| - dart.fn(internalCallback, dynamicTodynamic$());
|
| + dart.fn(internalCallback, dynamicToNull$());
|
| ;
|
| let observer = new _isolate_helper.global.MutationObserver(internalCallback);
|
| observer.observe(div, {childList: true});
|
| @@ -20098,7 +20101,7 @@
|
| _isolate_helper.enterJsAsync();
|
| storedCallback = callback;
|
| div.firstChild ? div.removeChild(span) : div.appendChild(span);
|
| - }, _AsyncCallbackTovoid());
|
| + }, FnToNull());
|
| } else if (_isolate_helper.global.setImmediate != null) {
|
| return async._AsyncRun._scheduleImmediateWithSetImmediate;
|
| }
|
| @@ -20109,7 +20112,7 @@
|
| _isolate_helper.leaveJsAsync();
|
| callback();
|
| }
|
| - dart.fn(internalCallback, VoidTodynamic$());
|
| + dart.fn(internalCallback, VoidToNull());
|
| ;
|
| _isolate_helper.enterJsAsync();
|
| _isolate_helper.global.scheduleImmediate(internalCallback);
|
| @@ -20119,7 +20122,7 @@
|
| _isolate_helper.leaveJsAsync();
|
| callback();
|
| }
|
| - dart.fn(internalCallback, VoidTodynamic$());
|
| + dart.fn(internalCallback, VoidToNull());
|
| ;
|
| _isolate_helper.enterJsAsync();
|
| _isolate_helper.global.setImmediate(internalCallback);
|
| @@ -20533,7 +20536,7 @@
|
| subscription[_setPendingEvents](pendingEvents);
|
| subscription[_guardCallback](dart.fn(() => {
|
| async._runGuarded(this.onListen);
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| return subscription;
|
| }
|
| [_recordCancel](subscription) {
|
| @@ -20793,7 +20796,7 @@
|
| return dart.fn((e, s) => {
|
| controller[_addError](e, s);
|
| controller[_close$]();
|
| - }, dynamicAndStackTraceTodynamic());
|
| + }, dynamicAndStackTraceToNull());
|
| }
|
| pause() {
|
| this.addSubscription.pause();
|
| @@ -20809,7 +20812,7 @@
|
| }
|
| return cancel.whenComplete(dart.fn(() => {
|
| this.addStreamFuture[_asyncComplete](null);
|
| - }, VoidTodynamic$()));
|
| + }, VoidToNull()));
|
| }
|
| complete() {
|
| this.addStreamFuture[_asyncComplete](null);
|
| @@ -20926,7 +20929,7 @@
|
| this[_state] = async._PendingEvents._STATE_UNSCHEDULED;
|
| if (oldState == async._PendingEvents._STATE_CANCELED) return;
|
| this.handleNext(dispatch);
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| this[_state] = async._PendingEvents._STATE_SCHEDULED;
|
| }
|
| cancelSchedule() {
|
| @@ -21233,7 +21236,7 @@
|
| let result = new (async._Future$(E))();
|
| this[_onDone] = dart.fn(() => {
|
| result[_completeWithValue](null);
|
| - }, VoidTovoid$());
|
| + }, VoidToNull());
|
| return result;
|
| };
|
| }
|
| @@ -21652,7 +21655,7 @@
|
| async._cancelAndErrorClosure = function(subscription, future) {
|
| return dart.fn((error, stackTrace) => {
|
| async._cancelAndError(subscription, future, error, stackTrace);
|
| - }, dynamicAndStackTraceTovoid());
|
| + }, dynamicAndStackTraceToNull());
|
| };
|
| dart.fn(async._cancelAndErrorClosure, StreamSubscriptionAnd_FutureTo_ErrorCallback());
|
| async._cancelAndValue = function(subscription, future, value) {
|
| @@ -23234,7 +23237,7 @@
|
| if (error == null) error = new core.NullThrownError();
|
| if (stackTrace == null) dart.throw(error);
|
| async._rethrow(error, stackTrace);
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| };
|
| };
|
| dart.lazyFn(async._rootHandleUncaughtError, () => ZoneAndZoneDelegateAndZone__ToR());
|
| @@ -23670,13 +23673,13 @@
|
| let _HashMapKeyIterableOfK = () => (_HashMapKeyIterableOfK = dart.constFn(collection._HashMapKeyIterable$(K)))();
|
| let MappedIterableOfK$V = () => (MappedIterableOfK$V = dart.constFn(_internal.MappedIterable$(K, V)))();
|
| let MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))();
|
| - let KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.functionType(dart.void, [K, V])))();
|
| let ListOfK = () => (ListOfK = dart.constFn(core.List$(K)))();
|
| let HashMapOfK$V = () => (HashMapOfK$V = dart.constFn(collection.HashMap$(K, V)))();
|
| + let KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.functionType(dart.void, [K, V])))();
|
| let VoidToV = () => (VoidToV = dart.constFn(dart.functionType(V, [])))();
|
| let KToV = () => (KToV = dart.constFn(dart.definiteFunctionType(V, [K])))();
|
| let KTobool = () => (KTobool = dart.constFn(dart.definiteFunctionType(core.bool, [K])))();
|
| - let KAndVTovoid$ = () => (KAndVTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [K, V])))();
|
| + let KAndVToNull = () => (KAndVToNull = dart.constFn(dart.definiteFunctionType(core.Null, [K, V])))();
|
| class _HashMap extends core.Object {
|
| new() {
|
| this[_length$1] = 0;
|
| @@ -23724,7 +23727,7 @@
|
| MapOfK$V()._check(other);
|
| other[dartx.forEach](dart.fn((key, value) => {
|
| this._set(key, value);
|
| - }, KAndVTovoid$()));
|
| + }, KAndVToNull()));
|
| }
|
| _get(key) {
|
| if (dart.test(collection._HashMap._isStringKey(key))) {
|
| @@ -24217,11 +24220,11 @@
|
| collection._Es6LinkedIdentityHashMap$ = dart.generic((K, V) => {
|
| let _Es6MapIterableOfK = () => (_Es6MapIterableOfK = dart.constFn(collection._Es6MapIterable$(K)))();
|
| let MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))();
|
| - let KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.functionType(dart.void, [K, V])))();
|
| let InternalMapOfK$V = () => (InternalMapOfK$V = dart.constFn(_js_helper.InternalMap$(K, V)))();
|
| + let KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.functionType(dart.void, [K, V])))();
|
| let _Es6MapIterableOfV = () => (_Es6MapIterableOfV = dart.constFn(collection._Es6MapIterable$(V)))();
|
| let VoidToV = () => (VoidToV = dart.constFn(dart.functionType(V, [])))();
|
| - let KAndVTovoid$ = () => (KAndVTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [K, V])))();
|
| + let KAndVToNull = () => (KAndVToNull = dart.constFn(dart.definiteFunctionType(core.Null, [K, V])))();
|
| let VTobool = () => (VTobool = dart.constFn(dart.definiteFunctionType(core.bool, [V])))();
|
| class _Es6LinkedIdentityHashMap extends collection._LinkedIdentityHashMap$(K, V) {
|
| new() {
|
| @@ -24254,7 +24257,7 @@
|
| MapOfK$V()._check(other);
|
| other[dartx.forEach](dart.fn((key, value) => {
|
| this._set(key, value);
|
| - }, KAndVTovoid$()));
|
| + }, KAndVToNull()));
|
| }
|
| _get(key) {
|
| return this[_map$0].get(key);
|
| @@ -25854,7 +25857,7 @@
|
| let result = HashMapOfK$V().new();
|
| other[dartx.forEach](dart.fn((k, v) => {
|
| result._set(K.as(k), V.as(v));
|
| - }, dynamicAnddynamicTovoid$()));
|
| + }, dynamicAnddynamicToNull()));
|
| return result;
|
| }
|
| static fromIterable(iterable, opts) {
|
| @@ -26406,7 +26409,7 @@
|
| let result = LinkedHashMapOfK$V().new();
|
| other[dartx.forEach](dart.fn((k, v) => {
|
| result._set(K.as(k), V.as(v));
|
| - }, dynamicAnddynamicTovoid$()));
|
| + }, dynamicAnddynamicToNull()));
|
| return result;
|
| }
|
| static fromIterable(iterable, opts) {
|
| @@ -27161,7 +27164,7 @@
|
| result.write(k);
|
| result.write(': ');
|
| result.write(v);
|
| - }, dynamicAnddynamicTovoid$()));
|
| + }, dynamicAnddynamicToNull()));
|
| result.write('}');
|
| } finally {
|
| dart.assert(core.identical(collection._toStringVisiting[dartx.last], m));
|
| @@ -28288,16 +28291,16 @@
|
| let ComparatorOfK = () => (ComparatorOfK = dart.constFn(core.Comparator$(K)))();
|
| let SplayTreeMapOfK$V = () => (SplayTreeMapOfK$V = dart.constFn(collection.SplayTreeMap$(K, V)))();
|
| let MapOfK$V = () => (MapOfK$V = dart.constFn(core.Map$(K, V)))();
|
| - let KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.functionType(dart.void, [K, V])))();
|
| let _SplayTreeNodeIteratorOfK = () => (_SplayTreeNodeIteratorOfK = dart.constFn(collection._SplayTreeNodeIterator$(K)))();
|
| let _SplayTreeKeyIterableOfK = () => (_SplayTreeKeyIterableOfK = dart.constFn(collection._SplayTreeKeyIterable$(K)))();
|
| let _SplayTreeValueIterableOfK$V = () => (_SplayTreeValueIterableOfK$V = dart.constFn(collection._SplayTreeValueIterable$(K, V)))();
|
| + let KAndVTovoid = () => (KAndVTovoid = dart.constFn(dart.functionType(dart.void, [K, V])))();
|
| let dynamicToK = () => (dynamicToK = dart.constFn(dart.functionType(K, [dart.dynamic])))();
|
| let IterableOfK = () => (IterableOfK = dart.constFn(core.Iterable$(K)))();
|
| let VoidToV = () => (VoidToV = dart.constFn(dart.functionType(V, [])))();
|
| let dynamicToV = () => (dynamicToV = dart.constFn(dart.functionType(V, [dart.dynamic])))();
|
| let IterableOfV = () => (IterableOfV = dart.constFn(core.Iterable$(V)))();
|
| - let KAndVTovoid$ = () => (KAndVTovoid$ = dart.constFn(dart.definiteFunctionType(dart.void, [K, V])))();
|
| + let KAndVToNull = () => (KAndVToNull = dart.constFn(dart.definiteFunctionType(core.Null, [K, V])))();
|
| class SplayTreeMap extends collection._SplayTree$(K, collection._SplayTreeMapNode$(K, V)) {
|
| new(compare, isValidKey) {
|
| if (compare === void 0) compare = null;
|
| @@ -28320,7 +28323,7 @@
|
| let result = new (SplayTreeMapOfK$V())(compare, isValidKey);
|
| other[dartx.forEach](dart.fn((k, v) => {
|
| result._set(K.as(k), V.as(v));
|
| - }, dynamicAnddynamicTovoid$()));
|
| + }, dynamicAnddynamicToNull()));
|
| return result;
|
| }
|
| static fromIterable(iterable, opts) {
|
| @@ -28406,7 +28409,7 @@
|
| MapOfK$V()._check(other);
|
| other[dartx.forEach](dart.fn((key, value) => {
|
| this._set(key, value);
|
| - }, KAndVTovoid$()));
|
| + }, KAndVToNull()));
|
| }
|
| get isEmpty() {
|
| return this[_root] == null;
|
| @@ -29079,7 +29082,7 @@
|
| addAll(other) {
|
| other[dartx.forEach](dart.fn((key, value) => {
|
| this._set(key, value);
|
| - }, dynamicAnddynamicTovoid$()));
|
| + }, dynamicAnddynamicToNull()));
|
| }
|
| containsValue(value) {
|
| if (dart.test(this[_isUpgraded])) return this[_upgradedMap][dartx.containsValue](value);
|
| @@ -31536,7 +31539,7 @@
|
| }
|
| keyValueList[dartx._set](i++, key);
|
| keyValueList[dartx._set](i++, value);
|
| - }, dynamicAnddynamicTovoid$()));
|
| + }, dynamicAnddynamicToNull()));
|
| if (!allStringKeys) return false;
|
| this.writeString('{');
|
| let separator = '"';
|
| @@ -31637,7 +31640,7 @@
|
| }
|
| keyValueList[dartx._set](i++, key);
|
| keyValueList[dartx._set](i++, value);
|
| - }, dynamicAnddynamicTovoid$()));
|
| + }, dynamicAnddynamicToNull()));
|
| if (!allStringKeys) return false;
|
| this.writeString('{\n');
|
| this[_indentLevel] = dart.notNull(this[_indentLevel]) + 1;
|
| @@ -33883,7 +33886,7 @@
|
| sb.write(": ");
|
| sb.write(core.Error.safeToString(value));
|
| i++;
|
| - }, SymbolAnddynamicTovoid()));
|
| + }, SymbolAnddynamicToNull()));
|
| }
|
| if (this[_existingArgumentNames] == null) {
|
| return dart.str`NoSuchMethodError : method not found: '${this[_memberName]}'\n` + dart.str`Receiver: ${core.Error.safeToString(this[_receiver$])}\n` + dart.str`Arguments: [${sb}]`;
|
| @@ -34209,7 +34212,7 @@
|
| let result = dart.map({}, core.String, dart.dynamic);
|
| namedArguments[dartx.forEach](dart.fn((symbol, value) => {
|
| result[dartx._set](core._symbolToString(symbol), value);
|
| - }, SymbolAnddynamicTovoid()));
|
| + }, SymbolAnddynamicToNull()));
|
| return result;
|
| }
|
| };
|
| @@ -35193,7 +35196,7 @@
|
| dart.throw(new core.UnsupportedError(dart.str`Illegal path character ${segment}`));
|
| }
|
| }
|
| - }, StringTovoid$()));
|
| + }, StringToNull()));
|
| }
|
| static _checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
|
| if (firstSegment === void 0) firstSegment = 0;
|
| @@ -35550,7 +35553,7 @@
|
| writeParameter(key, value);
|
| }
|
| }
|
| - }, StringAnddynamicTovoid()));
|
| + }, StringAnddynamicToNull()));
|
| return result.toString();
|
| }
|
| static _makeFragment(fragment, start, end) {
|
| @@ -36538,7 +36541,7 @@
|
| if (indices != null) indices[dartx.add](buffer.length);
|
| buffer.write('=');
|
| buffer.write(core.Uri._uriEncode(core.UriData._tokenCharTable, value, convert.UTF8, false));
|
| - }, StringAndStringTovoid$())));
|
| + }, StringAndStringToNull())));
|
| }
|
| static _validateMimeType(mimeType) {
|
| let slashIndex = -1;
|
| @@ -39187,7 +39190,7 @@
|
| this.error(response);
|
| this.close();
|
| }
|
| - }, dynamicToFutureOr$()));
|
| + }, dynamicToNull$()));
|
| }
|
| onResume() {
|
| if (!dart.test(this.nextRunning)) {
|
| @@ -39252,7 +39255,7 @@
|
| } else {
|
| this.controller.addError(new io.FileSystemException("Internal error"));
|
| }
|
| - }, dynamicToFutureOr$()));
|
| + }, dynamicToNull$()));
|
| }
|
| [_cleanup]() {
|
| this.controller.close();
|
| @@ -39562,13 +39565,13 @@
|
| if (dart.test(this[_atEnd])) {
|
| this[_closeFile]();
|
| }
|
| - }, ListOfintToFutureOr())).catchError(dart.fn((e, s) => {
|
| + }, ListOfintToNull())).catchError(dart.fn((e, s) => {
|
| if (!dart.test(this[_unsubscribed])) {
|
| this[_controller$0].addError(e, core.StackTrace._check(s));
|
| this[_closeFile]();
|
| this[_unsubscribed] = true;
|
| }
|
| - }, dynamicAnddynamicTodynamic$()));
|
| + }, dynamicAnddynamicToNull()));
|
| }
|
| [_start$2]() {
|
| if (dart.notNull(this[_position$0]) < 0) {
|
| @@ -39589,7 +39592,7 @@
|
| this[_controller$0].addError(e, core.StackTrace._check(s));
|
| this[_readInProgress] = false;
|
| this[_closeFile]();
|
| - }, dynamicAnddynamicTodynamic$())});
|
| + }, dynamicAnddynamicToNull())});
|
| } else {
|
| onReady(file);
|
| }
|
| @@ -39675,10 +39678,10 @@
|
| error(e, stackTrace);
|
| }
|
|
|
| - }, ListOfintTovoid$()), {onDone: dart.fn(() => {
|
| + }, ListOfintToNull()), {onDone: dart.fn(() => {
|
| completer.complete(this[_file]);
|
| - }, VoidTovoid$()), onError: error, cancelOnError: true});
|
| - }, RandomAccessFileToFutureOr())).catchError(dart.bind(completer, 'completeError'));
|
| + }, VoidToNull()), onError: error, cancelOnError: true});
|
| + }, RandomAccessFileToNull())).catchError(dart.bind(completer, 'completeError'));
|
| return completer.future;
|
| }
|
| close() {
|
| @@ -39916,7 +39919,7 @@
|
| } else {
|
| completer.complete(builder.takeBytes());
|
| }
|
| - }, dynamicTodynamic$()), {onError: dart.bind(completer, 'completeError')});
|
| + }, dynamicToNull$()), {onError: dart.bind(completer, 'completeError')});
|
| }
|
| dart.fn(read, VoidTovoid$());
|
| read();
|
| @@ -40467,7 +40470,7 @@
|
| data[dartx._set](0, this[_pointer]());
|
| return io._IOService._dispatch(request, data).whenComplete(dart.fn(() => {
|
| this[_asyncDispatched] = false;
|
| - }, VoidTodynamic$()));
|
| + }, VoidToNull()));
|
| }
|
| [_checkAvailable]() {
|
| if (dart.test(this[_asyncDispatched])) {
|
| @@ -42104,7 +42107,7 @@
|
| sb.write(values[dartx._get](i));
|
| }
|
| sb.write("\n");
|
| - }, StringAndListOfStringTovoid$()));
|
| + }, StringAndListOfStringToNull()));
|
| return sb.toString();
|
| }
|
| [_parseCookies]() {
|
| @@ -42316,7 +42319,7 @@
|
| sb.write(name);
|
| sb.write("=");
|
| sb.write(value);
|
| - }, StringAndStringTovoid$()));
|
| + }, StringAndStringToNull()));
|
| }
|
| return sb.toString();
|
| }
|
| @@ -42464,7 +42467,7 @@
|
| value = value[dartx.toLowerCase]();
|
| }
|
| this[_parameters][dartx._set](lowerCaseKey, value);
|
| - }, StringAndStringTovoid$()));
|
| + }, StringAndStringToNull()));
|
| }
|
| if (charset != null) {
|
| this[_ensureParameters]();
|
| @@ -42729,7 +42732,7 @@
|
| this.hasSubscriber = true;
|
| return this[_stream$].handleError(dart.fn(error => {
|
| dart.throw(new io.HttpException(core.String._check(dart.dload(error, 'message')), {uri: this.uri}));
|
| - }, dynamicTodynamic$())).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError});
|
| + }, dynamicToNull$())).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError});
|
| }
|
| get dataDone() {
|
| return this[_dataCompleter].future;
|
| @@ -42952,7 +42955,7 @@
|
| if (values != null) {
|
| values[dartx.forEach](dart.fn(value => {
|
| this[_cookies][dartx.add](io.Cookie.fromSetCookieValue(value));
|
| - }, StringTovoid$()));
|
| + }, StringToNull()));
|
| }
|
| return this[_cookies];
|
| }
|
| @@ -43176,7 +43179,7 @@
|
| const targetAddStream = (function() {
|
| return this[_target$].addStream(stream).whenComplete(dart.fn(() => {
|
| this[_isBound] = false;
|
| - }, VoidTodynamic$()));
|
| + }, VoidToNull()));
|
| }).bind(this);
|
| dart.fn(targetAddStream, VoidToFuture());
|
| if (this[_controllerInstance] == null) return targetAddStream();
|
| @@ -43194,7 +43197,7 @@
|
| this[_controllerInstance].close();
|
| return future.whenComplete(dart.fn(() => {
|
| this[_isBound] = false;
|
| - }, VoidTodynamic$()));
|
| + }, VoidToNull()));
|
| }
|
| close() {
|
| if (dart.test(this[_isBound])) {
|
| @@ -43245,7 +43248,7 @@
|
| } else {
|
| this[_closeTarget]();
|
| }
|
| - }, dynamicToFutureOr$()), {onError: dart.fn((error, stackTrace) => {
|
| + }, dynamicToNull$()), {onError: dart.fn((error, stackTrace) => {
|
| if (dart.test(this[_isBound])) {
|
| this[_controllerCompleter].completeError(error, core.StackTrace._check(stackTrace));
|
| this[_controllerCompleter] = null;
|
| @@ -43253,7 +43256,7 @@
|
| } else {
|
| this[_completeDoneError](error, core.StackTrace._check(stackTrace));
|
| }
|
| - }, dynamicAnddynamicTodynamic$())});
|
| + }, dynamicAnddynamicToNull())});
|
| }
|
| return this[_controllerInstance];
|
| }
|
| @@ -43498,7 +43501,7 @@
|
| }
|
| this.close();
|
| this.done.catchError(dart.fn(_ => {
|
| - }, dynamicTodynamic$()));
|
| + }, dynamicToNull$()));
|
| return future;
|
| }
|
| get connectionInfo() {
|
| @@ -43513,7 +43516,7 @@
|
| if (this[_deadline] == null) return;
|
| this[_deadlineTimer] = async.Timer.new(this[_deadline], dart.fn(() => {
|
| this[_httpRequest][_httpConnection].destroy();
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| }
|
| [_writeHeader]() {
|
| let buffer = typed_data.Uint8List.new(io._OUTGOING_BUFFER_SIZE);
|
| @@ -43578,7 +43581,7 @@
|
| if (this[_cookies] != null) {
|
| this[_cookies][dartx.forEach](dart.fn(cookie => {
|
| this.headers.add(io.HttpHeaders.SET_COOKIE, cookie);
|
| - }, CookieTovoid()));
|
| + }, CookieToNull()));
|
| }
|
| this.headers[_finalize]();
|
| offset = this.headers[_write](buffer, offset);
|
| @@ -44082,7 +44085,7 @@
|
| }
|
| if (dart.test(drainRequest) && !dart.test(response[_httpRequest][_incoming].hasSubscriber)) {
|
| drainFuture = response[_httpRequest].drain(dart.dynamic)().catchError(dart.fn(_ => {
|
| - }, dynamicTodynamic$()));
|
| + }, dynamicToNull$()));
|
| }
|
| } else {
|
| drainRequest = false;
|
| @@ -44111,7 +44114,7 @@
|
| }
|
| if (dart.test(this.ignoreBody)) {
|
| stream.drain(dart.dynamic)().catchError(dart.fn(_ => {
|
| - }, dynamicTodynamic$()));
|
| + }, dynamicToNull$()));
|
| let future = this.writeHeaders();
|
| if (future != null) {
|
| return future.then(dart.dynamic)(dart.fn(_ => this.close(), dynamicToFuture()));
|
| @@ -44238,7 +44241,7 @@
|
| this[_addChunk$](this[_chunkHeader](core.int._check(dart.dload(data, 'length'))), ListOfintTovoid()._check(this[_gzipAdd]));
|
| this[_pendingChunkedFooter] = 2;
|
| this[_addChunk$](data, ListOfintTovoid()._check(this[_gzipAdd]));
|
| - }, dynamicTodynamic$())));
|
| + }, dynamicToNull$())));
|
| }
|
| }
|
| [_ignoreError](error) {
|
| @@ -44394,28 +44397,28 @@
|
| if (incoming.statusCode == 100) {
|
| incoming.drain(dart.dynamic)().then(dart.dynamic)(dart.fn(_ => {
|
| this[_subscription$].resume();
|
| - }, dynamicToFutureOr$())).catchError(dart.fn((error, stackTrace) => {
|
| + }, dynamicToNull$())).catchError(dart.fn((error, stackTrace) => {
|
| if (stackTrace === void 0) stackTrace = null;
|
| this[_nextResponseCompleter].completeError(new io.HttpException(core.String._check(dart.dload(error, 'message')), {uri: this[_currentUri]}), stackTrace);
|
| this[_nextResponseCompleter] = null;
|
| - }, dynamic__Todynamic$()));
|
| + }, dynamic__ToNull$()));
|
| } else {
|
| this[_nextResponseCompleter].complete(incoming);
|
| this[_nextResponseCompleter] = null;
|
| }
|
| - }, _HttpIncomingTovoid$()), {onError: dart.fn((error, stackTrace) => {
|
| + }, _HttpIncomingToNull()), {onError: dart.fn((error, stackTrace) => {
|
| if (stackTrace === void 0) stackTrace = null;
|
| if (this[_nextResponseCompleter] != null) {
|
| this[_nextResponseCompleter].completeError(new io.HttpException(core.String._check(dart.dload(error, 'message')), {uri: this[_currentUri]}), stackTrace);
|
| this[_nextResponseCompleter] = null;
|
| }
|
| - }, dynamic__Todynamic$()), onDone: dart.fn(() => {
|
| + }, dynamic__ToNull$()), onDone: dart.fn(() => {
|
| if (this[_nextResponseCompleter] != null) {
|
| this[_nextResponseCompleter].completeError(new io.HttpException("Connection closed before response was received", {uri: this[_currentUri]}));
|
| this[_nextResponseCompleter] = null;
|
| }
|
| this.close();
|
| - }, VoidTovoid$())});
|
| + }, VoidToNull())});
|
| }
|
| send(uri, port, method, proxy) {
|
| if (dart.test(this.closed)) {
|
| @@ -44471,7 +44474,7 @@
|
| } else {
|
| this.destroy();
|
| }
|
| - }, dynamicToFutureOr$()));
|
| + }, dynamicToNull$()));
|
| if (proxyCreds != null && dart.equals(proxyCreds.scheme, io._AuthenticationScheme.DIGEST)) {
|
| let authInfo = incoming.headers._get("proxy-authentication-info");
|
| if (authInfo != null && authInfo[dartx.length] == 1) {
|
| @@ -44489,17 +44492,17 @@
|
| }
|
| }
|
| request[_onIncoming](incoming);
|
| - }, _HttpIncomingToFutureOr())).catchError(dart.fn(error => {
|
| + }, _HttpIncomingToNull())).catchError(dart.fn(error => {
|
| dart.throw(new io.HttpException("Connection closed before data was received", {uri: uri}));
|
| - }, dynamicTodynamic$()), {test: dart.fn(error => core.StateError.is(error), ObjectTobool())}).catchError(dart.fn((error, stackTrace) => {
|
| + }, dynamicToNull$()), {test: dart.fn(error => core.StateError.is(error), ObjectTobool())}).catchError(dart.fn((error, stackTrace) => {
|
| this.destroy();
|
| request[_onError$](error, core.StackTrace._check(stackTrace));
|
| - }, dynamicAnddynamicTodynamic$()));
|
| + }, dynamicAnddynamicToNull()));
|
| this[_subscription$].resume();
|
| return s;
|
| }, dynamicTodynamic$()), {onError: dart.fn(e => {
|
| this.destroy();
|
| - }, dynamicTodynamic$())});
|
| + }, dynamicToNull$())});
|
| return request;
|
| }
|
| detachSocket() {
|
| @@ -44549,7 +44552,7 @@
|
| this[_idleTimer] = async.Timer.new(this[_httpClient].idleTimeout, dart.fn(() => {
|
| this[_idleTimer] = null;
|
| this.close();
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| }
|
| };
|
| dart.setSignature(io._HttpClientConnection, {
|
| @@ -44673,7 +44676,7 @@
|
| let completer = async.Completer.new();
|
| this[_pending$].add(dart.fn(() => {
|
| this.connect(uriHost, uriPort, proxy, client).then(dart.void)(dart.bind(completer, 'complete'), {onError: dart.bind(completer, 'completeError')});
|
| - }, VoidTodynamic$()));
|
| + }, VoidToNull()));
|
| return FutureOf_ConnectionInfo()._check(completer.future);
|
| }
|
| let currentBadCertificateCallback = client[_badCertificateCallback];
|
| @@ -44702,7 +44705,7 @@
|
| this[_connecting] = dart.notNull(this[_connecting]) - 1;
|
| this[_checkPending]();
|
| dart.throw(error);
|
| - }, dynamicTodynamic$())});
|
| + }, dynamicToNull$())});
|
| }
|
| };
|
| dart.setSignature(io._ConnectionTarget, {
|
| @@ -45181,7 +45184,7 @@
|
| this[_httpServer][_markActive](this);
|
| incoming.dataDone.then(dart.dynamic)(dart.fn(closing => {
|
| if (dart.test(closing)) this.destroy();
|
| - }, dynamicToFutureOr$()));
|
| + }, dynamicToNull$()));
|
| this[_subscription$].pause();
|
| this[_state$1] = io._HttpConnection._ACTIVE;
|
| let outgoing = new io._HttpOutgoing(io.Socket._check(this[_socket]));
|
| @@ -45198,17 +45201,17 @@
|
| } else {
|
| this.destroy();
|
| }
|
| - }, dynamicToFutureOr$()), {onError: dart.fn(_ => {
|
| + }, dynamicToNull$()), {onError: dart.fn(_ => {
|
| this.destroy();
|
| - }, dynamicTodynamic$())});
|
| + }, dynamicToNull$())});
|
| outgoing.ignoreBody = request.method == "HEAD";
|
| response[_httpRequest] = request;
|
| this[_httpServer][_handleRequest](request);
|
| - }, _HttpIncomingTovoid$()), {onDone: dart.fn(() => {
|
| + }, _HttpIncomingToNull()), {onDone: dart.fn(() => {
|
| this.destroy();
|
| - }, VoidTovoid$()), onError: dart.fn(error => {
|
| + }, VoidToNull()), onError: dart.fn(error => {
|
| this.destroy();
|
| - }, dynamicTodynamic$())});
|
| + }, dynamicToNull$())});
|
| }
|
| markIdle() {
|
| this[_idleMark] = true;
|
| @@ -45424,7 +45427,7 @@
|
| idle.markIdle();
|
| }
|
| }
|
| - }, TimerTovoid$()));
|
| + }, TimerToNull()));
|
| }
|
| }
|
| listen(onData, opts) {
|
| @@ -45435,11 +45438,11 @@
|
| socket.setOption(io.SocketOption.TCP_NODELAY, true);
|
| let connection = new io._HttpConnection(socket, this);
|
| this[_idleConnections].add(connection);
|
| - }, SocketTodynamic()), {onError: dart.fn((error, stackTrace) => {
|
| + }, SocketToNull()), {onError: dart.fn((error, stackTrace) => {
|
| if (!io.HandshakeException.is(error)) {
|
| this[_controller$0].addError(error, core.StackTrace._check(stackTrace));
|
| }
|
| - }, dynamicAnddynamicTodynamic$()), onDone: dart.bind(this[_controller$0], 'close')});
|
| + }, dynamicAnddynamicToNull()), onDone: dart.bind(this[_controller$0], 'close')});
|
| return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError});
|
| }
|
| close(opts) {
|
| @@ -45517,11 +45520,11 @@
|
| dart.assert(conn[_isClosing]);
|
| result.closing = dart.notNull(result.closing) + 1;
|
| }
|
| - }, _HttpConnectionTovoid()));
|
| + }, _HttpConnectionToNull()));
|
| this[_idleConnections].forEach(dart.fn(conn => {
|
| result.idle = dart.notNull(result.idle) + 1;
|
| dart.assert(conn[_isIdle]);
|
| - }, _HttpConnectionTovoid()));
|
| + }, _HttpConnectionToNull()));
|
| return result;
|
| }
|
| get [_serviceTypePath]() {
|
| @@ -45696,7 +45699,7 @@
|
| dart.throw(new io.HttpException(dart.str`Invalid proxy configuration ${configuration}`));
|
| }
|
| }
|
| - }, StringTovoid$()));
|
| + }, StringToNull()));
|
| }
|
| direct() {
|
| this.proxies = const$74 || (const$74 = dart.constList([const$73 || (const$73 = dart.const(new io._Proxy.direct()))], io._Proxy));
|
| @@ -46344,7 +46347,7 @@
|
| if (this[_userOnData] != null) {
|
| dart.dcall(this[_userOnData], data);
|
| }
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| }
|
| };
|
| io._HttpDetachedStreamSubscription[dart.implements] = () => [StreamSubscriptionOfListOfint()];
|
| @@ -46477,17 +46480,17 @@
|
| super.new();
|
| this[_controller$0] = StreamControllerOf_HttpIncoming().new({sync: true, onListen: dart.fn(() => {
|
| this[_paused] = false;
|
| - }, VoidTovoid$()), onPause: dart.fn(() => {
|
| + }, VoidToNull()), onPause: dart.fn(() => {
|
| this[_paused] = true;
|
| this[_pauseStateChanged]();
|
| - }, VoidTovoid$()), onResume: dart.fn(() => {
|
| + }, VoidToNull()), onResume: dart.fn(() => {
|
| this[_paused] = false;
|
| this[_pauseStateChanged]();
|
| - }, VoidTovoid$()), onCancel: dart.fn(() => {
|
| + }, VoidToNull()), onCancel: dart.fn(() => {
|
| if (this[_socketSubscription] != null) {
|
| this[_socketSubscription].cancel();
|
| }
|
| - }, VoidTodynamic$())});
|
| + }, VoidToNull())});
|
| this[_reset]();
|
| }
|
| listen(onData, opts) {
|
| @@ -47107,24 +47110,24 @@
|
| dart.assert(this[_bodyPaused]);
|
| this[_bodyPaused] = false;
|
| this[_pauseStateChanged]();
|
| - }, VoidTovoid$()), onPause: dart.fn(() => {
|
| + }, VoidToNull()), onPause: dart.fn(() => {
|
| if (!dart.equals(incoming, this[_incoming])) return;
|
| dart.assert(!dart.test(this[_bodyPaused]));
|
| this[_bodyPaused] = true;
|
| this[_pauseStateChanged]();
|
| - }, VoidTovoid$()), onResume: dart.fn(() => {
|
| + }, VoidToNull()), onResume: dart.fn(() => {
|
| if (!dart.equals(incoming, this[_incoming])) return;
|
| dart.assert(this[_bodyPaused]);
|
| this[_bodyPaused] = false;
|
| this[_pauseStateChanged]();
|
| - }, VoidTovoid$()), onCancel: dart.fn(() => {
|
| + }, VoidToNull()), onCancel: dart.fn(() => {
|
| if (!dart.equals(incoming, this[_incoming])) return;
|
| if (this[_socketSubscription] != null) {
|
| this[_socketSubscription].cancel();
|
| }
|
| this[_closeIncoming](true);
|
| this[_controller$0].close();
|
| - }, VoidTodynamic$())});
|
| + }, VoidToNull())});
|
| incoming = this[_incoming] = new io._HttpIncoming(this[_headers], transferLength, this[_bodyController].stream);
|
| this[_bodyPaused] = true;
|
| this[_pauseStateChanged]();
|
| @@ -48748,7 +48751,7 @@
|
| let completer = async.Completer.new();
|
| dart.dsend(dart.dsend(dart.dsend(socket, _detachRaw), 'then', dart.fn(detachedRaw => io.RawSecureSocket.secure(io.RawSocket._check(dart.dindex(detachedRaw, 0)), {subscription: async.StreamSubscription._check(dart.dindex(detachedRaw, 1)), host: host, context: context, onBadCertificate: onBadCertificate}), dynamicToFutureOfRawSecureSocket())), 'then', dart.fn(raw => {
|
| completer.complete(io.SecureSocket._(io.RawSecureSocket._check(raw)));
|
| - }, dynamicTodynamic$()));
|
| + }, dynamicToNull$()));
|
| return FutureOfSecureSocket()._check(completer.future);
|
| }
|
| static secureServer(socket, context, opts) {
|
| @@ -48759,7 +48762,7 @@
|
| let completer = async.Completer.new();
|
| dart.dsend(dart.dsend(dart.dsend(socket, _detachRaw), 'then', dart.fn(detachedRaw => io.RawSecureSocket.secureServer(io.RawSocket._check(dart.dindex(detachedRaw, 0)), context, {subscription: async.StreamSubscription._check(dart.dindex(detachedRaw, 1)), bufferedData: bufferedData, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols}), dynamicToFutureOfRawSecureSocket())), 'then', dart.fn(raw => {
|
| completer.complete(io.SecureSocket._(io.RawSecureSocket._check(raw)));
|
| - }, dynamicTodynamic$()));
|
| + }, dynamicToNull$()));
|
| return FutureOfSecureSocket()._check(completer.future);
|
| }
|
| };
|
| @@ -48915,11 +48918,11 @@
|
| } else {
|
| this[_controller$0].add(secureConnection);
|
| }
|
| - }, RawSecureSocketToFutureOr())).catchError(dart.fn((e, s) => {
|
| + }, RawSecureSocketToNull())).catchError(dart.fn((e, s) => {
|
| if (!dart.test(this[_closed])) {
|
| this[_controller$0].addError(e, core.StackTrace._check(s));
|
| }
|
| - }, dynamicAnddynamicTodynamic$()));
|
| + }, dynamicAnddynamicToNull()));
|
| }
|
| [_onPauseStateChange]() {
|
| if (dart.test(this[_controller$0].isPaused)) {
|
| @@ -49499,7 +49502,7 @@
|
| }
|
| }
|
| this[_tryFilter]();
|
| - }, _FilterStatusToFutureOr())).catchError(dart.bind(this, _reportError));
|
| + }, _FilterStatusToNull())).catchError(dart.bind(this, _reportError));
|
| }
|
| }
|
| [_readSocketOrBufferedData](bytes) {
|
| @@ -50584,7 +50587,7 @@
|
| completer.completeError(e, s);
|
| }
|
|
|
| - }, ListOfintTovoid$()), {onError: dart.bind(completer, 'completeError'), onDone: dart.bind(completer, 'complete'), cancelOnError: true});
|
| + }, ListOfintToNull()), {onError: dart.bind(completer, 'completeError'), onDone: dart.bind(completer, 'complete'), cancelOnError: true});
|
| return completer.future;
|
| }
|
| close() {
|
| @@ -51576,9 +51579,9 @@
|
| bind(stream) {
|
| stream.listen(dart.fn(request => {
|
| io._WebSocketTransformerImpl._upgrade(request, this[_protocolSelector], this[_compression]).then(dart.void)(dart.fn(webSocket => this[_controller$0].add(webSocket), WebSocketTovoid())).catchError(dart.bind(this[_controller$0], 'addError'));
|
| - }, HttpRequestTovoid$()), {onDone: dart.fn(() => {
|
| + }, HttpRequestToNull()), {onDone: dart.fn(() => {
|
| this[_controller$0].close();
|
| - }, VoidTovoid$())});
|
| + }, VoidToNull())});
|
| return this[_controller$0].stream;
|
| }
|
| static _upgrade(request, _protocolSelector, compression) {
|
| @@ -51617,7 +51620,7 @@
|
| response.statusCode = io.HttpStatus.INTERNAL_SERVER_ERROR;
|
| response.close();
|
| dart.throw(error);
|
| - }, dynamicTodynamic$())).then(io.WebSocket)(upgrade);
|
| + }, dynamicToNull$())).then(io.WebSocket)(upgrade);
|
| } else {
|
| return FutureOfWebSocket()._check(upgrade(null));
|
| }
|
| @@ -51647,7 +51650,7 @@
|
| let isUpgrade = false;
|
| request.headers._get(io.HttpHeaders.CONNECTION)[dartx.forEach](dart.fn(value => {
|
| if (value[dartx.toLowerCase]() == "upgrade") isUpgrade = true;
|
| - }, StringTovoid$()));
|
| + }, StringToNull()));
|
| if (!isUpgrade) return false;
|
| let upgrade = request.headers.value(io.HttpHeaders.UPGRADE);
|
| if (upgrade == null || upgrade[dartx.toLowerCase]() != "websocket") {
|
| @@ -51842,7 +51845,7 @@
|
| addFrame(opcode, data) {
|
| return io._WebSocketOutgoingTransformer.createFrame(opcode, data, this.webSocket[_serverSide], this[_deflateHelper] != null && (opcode == io._WebSocketOpcode.TEXT || opcode == io._WebSocketOpcode.BINARY))[dartx.forEach](dart.fn(e => {
|
| this[_eventSink$].add(e);
|
| - }, ListOfintTovoid$()));
|
| + }, ListOfintToNull()));
|
| }
|
| static createFrame(opcode, data, serverSide, compressed) {
|
| let mask = !dart.test(serverSide);
|
| @@ -51988,7 +51991,7 @@
|
| this.socket.addStream(stream).then(dart.dynamic)(dart.fn(_ => {
|
| this[_done$]();
|
| this[_closeCompleter].complete(this.webSocket);
|
| - }, dynamicToFutureOr$()), {onError: dart.fn((error, stackTrace) => {
|
| + }, dynamicToNull$()), {onError: dart.fn((error, stackTrace) => {
|
| this[_closed] = true;
|
| this[_cancel$]();
|
| if (core.ArgumentError.is(error)) {
|
| @@ -51999,7 +52002,7 @@
|
| this[_done$]();
|
| this[_closeCompleter].complete(this.webSocket);
|
| }
|
| - }, dynamicAndStackTraceTodynamic())});
|
| + }, dynamicAndStackTraceToNull())});
|
| }
|
| [_done$](error, stackTrace) {
|
| if (error === void 0) error = null;
|
| @@ -52022,7 +52025,7 @@
|
| this[_completer] = async.Completer.new();
|
| this[_subscription$] = stream.listen(dart.fn(data => {
|
| this[_controller$0].add(data);
|
| - }, dynamicTovoid$()), {onDone: dart.bind(this, _done$), onError: dart.bind(this, _done$), cancelOnError: true});
|
| + }, dynamicToNull$()), {onDone: dart.bind(this, _done$), onError: dart.bind(this, _done$), cancelOnError: true});
|
| if (dart.test(this[_issuedPause])) {
|
| this[_subscription$].pause();
|
| this[_issuedPause] = false;
|
| @@ -52033,7 +52036,7 @@
|
| this[_ensureController]();
|
| const closeSocket = (function() {
|
| return this.socket.close().catchError(dart.fn(_ => {
|
| - }, dynamicTodynamic$())).then(io._WebSocketImpl)(dart.fn(_ => this.webSocket, dynamicTo_WebSocketImpl()));
|
| + }, dynamicToNull$())).then(io._WebSocketImpl)(dart.fn(_ => this.webSocket, dynamicTo_WebSocketImpl()));
|
| }).bind(this);
|
| dart.fn(closeSocket, VoidToFuture());
|
| this[_controller$0].close();
|
| @@ -52124,7 +52127,7 @@
|
| function error(message) {
|
| response.detachSocket().then(dart.dynamic)(dart.fn(socket => {
|
| socket.destroy();
|
| - }, SocketToFutureOr()));
|
| + }, SocketToNull()));
|
| dart.throw(new io.WebSocketException(message));
|
| }
|
| dart.fn(error, StringTovoid$());
|
| @@ -52207,7 +52210,7 @@
|
| } else {
|
| this[_controller$0].add(data);
|
| }
|
| - }, dynamicTodynamic$()), {onError: dart.fn((error, stackTrace) => {
|
| + }, dynamicToNull$()), {onError: dart.fn((error, stackTrace) => {
|
| if (this[_closeTimer] != null) this[_closeTimer].cancel();
|
| if (core.FormatException.is(error)) {
|
| this[_close$0](io.WebSocketStatus.INVALID_FRAME_PAYLOAD_DATA);
|
| @@ -52217,7 +52220,7 @@
|
| this[_closeCode] = this[_outCloseCode];
|
| this[_closeReason] = this[_outCloseReason];
|
| this[_controller$0].close();
|
| - }, dynamicAnddynamicTodynamic$()), onDone: dart.fn(() => {
|
| + }, dynamicAnddynamicToNull()), onDone: dart.fn(() => {
|
| if (this[_closeTimer] != null) this[_closeTimer].cancel();
|
| if (this[_readyState] == io.WebSocket.OPEN) {
|
| this[_readyState] = io.WebSocket.CLOSING;
|
| @@ -52231,12 +52234,12 @@
|
| this[_closeCode] = transformer.closeCode;
|
| this[_closeReason] = transformer.closeReason;
|
| this[_controller$0].close();
|
| - }, VoidTodynamic$()), cancelOnError: true}));
|
| + }, VoidToNull()), cancelOnError: true}));
|
| this[_subscription$].pause();
|
| this[_controller$0] = async.StreamController.new({sync: true, onListen: dart.bind(this[_subscription$], 'resume'), onCancel: dart.fn(() => {
|
| this[_subscription$].cancel();
|
| this[_subscription$] = null;
|
| - }, VoidTodynamic$()), onPause: dart.bind(this[_subscription$], 'pause'), onResume: dart.bind(this[_subscription$], 'resume')});
|
| + }, VoidToNull()), onPause: dart.bind(this[_subscription$], 'pause'), onResume: dart.bind(this[_subscription$], 'resume')});
|
| io._WebSocketImpl._webSockets[dartx._set](this[_serviceId], this);
|
| try {
|
| dart.dput(this[_socket], _owner, this);
|
| @@ -52263,8 +52266,8 @@
|
| this[_consumer].add(new io._WebSocketPing());
|
| this[_pingTimer] = async.Timer.new(this[_pingInterval], dart.fn(() => {
|
| this[_close$0](io.WebSocketStatus.GOING_AWAY);
|
| - }, VoidTovoid$()));
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| + }, VoidToNull()));
|
| }
|
| get readyState() {
|
| return this[_readyState];
|
| @@ -52312,7 +52315,7 @@
|
| if (this[_subscription$] != null) this[_subscription$].cancel();
|
| this[_controller$0].close();
|
| io._WebSocketImpl._webSockets[dartx.remove](this[_serviceId]);
|
| - }, VoidTovoid$()));
|
| + }, VoidToNull()));
|
| }
|
| }
|
| return this[_sink$0].close();
|
| @@ -52552,11 +52555,11 @@
|
| controller = async.StreamController.broadcast({sync: true, onListen: dart.fn(() => {
|
| port = isolate.RawReceivePort.new(handleError);
|
| this.addErrorListener(port.sendPort);
|
| - }, VoidTovoid$()), onCancel: dart.fn(() => {
|
| + }, VoidToNull()), onCancel: dart.fn(() => {
|
| this.removeErrorListener(port.sendPort);
|
| port.close();
|
| port = null;
|
| - }, VoidTovoid$())});
|
| + }, VoidToNull())});
|
| return controller.stream;
|
| }
|
| };
|
| @@ -54821,7 +54824,7 @@
|
| let completer = CompleterOfIdbFactory().sync();
|
| request[dartx.onSuccess].listen(dart.fn(e => {
|
| completer.complete(this);
|
| - }, EventTovoid$()));
|
| + }, EventToNull()));
|
| request[dartx.onError].listen(dart.bind(completer, 'completeError'));
|
| return completer.future;
|
| } catch (e) {
|
| @@ -54880,7 +54883,7 @@
|
| request[dartx.onSuccess].listen(dart.fn(e => {
|
| let result = indexed_db._cast(T)(request[dartx.result]);
|
| completer.complete(result);
|
| - }, EventTovoid$()));
|
| + }, EventToNull()));
|
| request[dartx.onError].listen(dart.bind(completer, 'completeError'));
|
| return completer.future;
|
| };
|
| @@ -55352,7 +55355,7 @@
|
| cursor[dartx.next]();
|
| }
|
| }
|
| - }, EventTovoid$()));
|
| + }, EventToNull()));
|
| return controller.stream;
|
| };
|
| }
|
| @@ -55525,15 +55528,15 @@
|
| let completer = CompleterOfDatabase().new();
|
| this[dartx.onComplete].first.then(dart.dynamic)(dart.fn(_ => {
|
| completer.complete(this[dartx.db]);
|
| - }, EventToFutureOr()));
|
| + }, EventToNull()));
|
| this[dartx.onError].first.then(dart.dynamic)(dart.fn(e => {
|
| completer.completeError(e);
|
| - }, EventToFutureOr()));
|
| + }, EventToNull()));
|
| this[dartx.onAbort].first.then(dart.dynamic)(dart.fn(e => {
|
| if (!dart.test(completer.isCompleted)) {
|
| completer.completeError(e);
|
| }
|
| - }, EventToFutureOr()));
|
| + }, EventToNull()));
|
| return completer.future;
|
| }
|
| static _() {
|
| @@ -61670,9 +61673,9 @@
|
| let completer = CompleterOfFileSystem().new();
|
| this[_webkitRequestFileSystem](type, size, dart.fn(value => {
|
| completer.complete(value);
|
| - }, FileSystemTovoid()), dart.fn(error => {
|
| + }, FileSystemToNull()), dart.fn(error => {
|
| completer.completeError(error);
|
| - }, FileErrorTovoid()));
|
| + }, FileErrorToNull()));
|
| return completer.future;
|
| }
|
| [dartx.requestFileSystemSync](...args) {
|
| @@ -61688,9 +61691,9 @@
|
| let completer = CompleterOfEntry().new();
|
| this[_webkitResolveLocalFileSystemUrl](url, dart.fn(value => {
|
| completer.complete(value);
|
| - }, EntryTovoid()), dart.fn(error => {
|
| + }, EntryToNull()), dart.fn(error => {
|
| completer.completeError(error);
|
| - }, FileErrorTovoid()));
|
| + }, FileErrorToNull()));
|
| return completer.future;
|
| }
|
| [dartx.atob](...args) {
|
| @@ -69330,7 +69333,7 @@
|
| let completer = CompleterOfString().new();
|
| this[_getAsString](dart.fn(value => {
|
| completer.complete(value);
|
| - }, StringTovoid$()));
|
| + }, StringToNull()));
|
| return completer.future;
|
| }
|
| [dartx.getAsEntry](...args) {
|
| @@ -69872,9 +69875,9 @@
|
| let completer = CompleterOfEntry().new();
|
| this[_copyTo](parent, {name: name, successCallback: dart.fn(value => {
|
| completer.complete(value);
|
| - }, EntryTovoid()), errorCallback: dart.fn(error => {
|
| + }, EntryToNull()), errorCallback: dart.fn(error => {
|
| completer.completeError(error);
|
| - }, FileErrorTovoid())});
|
| + }, FileErrorToNull())});
|
| return completer.future;
|
| }
|
| [_getMetadata](...args) {
|
| @@ -69884,9 +69887,9 @@
|
| let completer = CompleterOfMetadata().new();
|
| this[_getMetadata](dart.fn(value => {
|
| completer.complete(value);
|
| - }, MetadataTovoid()), dart.fn(error => {
|
| + }, MetadataToNull()), dart.fn(error => {
|
| completer.completeError(error);
|
| - }, FileErrorTovoid()));
|
| + }, FileErrorToNull()));
|
| return completer.future;
|
| }
|
| [_getParent](...args) {
|
| @@ -69896,9 +69899,9 @@
|
| let completer = CompleterOfEntry().new();
|
| this[_getParent](dart.fn(value => {
|
| completer.complete(value);
|
| - }, EntryTovoid()), dart.fn(error => {
|
| + }, EntryToNull()), dart.fn(error => {
|
| completer.completeError(error);
|
| - }, FileErrorTovoid()));
|
| + }, FileErrorToNull()));
|
| return completer.future;
|
| }
|
| [_moveTo](...args) {
|
| @@ -69909,9 +69912,9 @@
|
| let completer = CompleterOfEntry().new();
|
| this[_moveTo](parent, {name: name, successCallback: dart.fn(value => {
|
| completer.complete(value);
|
| - }, EntryTovoid()), errorCallback: dart.fn(error => {
|
| + }, EntryToNull()), errorCallback: dart.fn(error => {
|
| completer.completeError(error);
|
| - }, FileErrorTovoid())});
|
| + }, FileErrorToNull())});
|
| return completer.future;
|
| }
|
| [_remove$](...args) {
|
| @@ -69921,9 +69924,9 @@
|
| let completer = async.Completer.new();
|
| this[_remove$](dart.fn(() => {
|
| completer.complete();
|
| - }, VoidTovoid$()), dart.fn(error => {
|
| + }, VoidToNull()), dart.fn(error => {
|
| completer.completeError(error);
|
| - }, FileErrorTovoid()));
|
| + }, FileErrorToNull()));
|
| return completer.future;
|
| }
|
| [dartx.toUrl](...args) {
|
| @@ -70022,9 +70025,9 @@
|
| let completer = CompleterOfEntry().new();
|
| this[__getDirectory](path, {options: options, successCallback: dart.fn(value => {
|
| completer.complete(value);
|
| - }, EntryTovoid()), errorCallback: dart.fn(error => {
|
| + }, EntryToNull()), errorCallback: dart.fn(error => {
|
| completer.completeError(error);
|
| - }, FileErrorTovoid())});
|
| + }, FileErrorToNull())});
|
| return completer.future;
|
| }
|
| [__getFile](path, opts) {
|
| @@ -70066,9 +70069,9 @@
|
| let completer = CompleterOfEntry().new();
|
| this[__getFile](path, {options: options, successCallback: dart.fn(value => {
|
| completer.complete(value);
|
| - }, EntryTovoid()), errorCallback: dart.fn(error => {
|
| + }, EntryToNull()), errorCallback: dart.fn(error => {
|
| completer.completeError(error);
|
| - }, FileErrorTovoid())});
|
| + }, FileErrorToNull())});
|
| return completer.future;
|
| }
|
| [_removeRecursively](...args) {
|
| @@ -70078,9 +70081,9 @@
|
| let completer = async.Completer.new();
|
| this[_removeRecursively](dart.fn(() => {
|
| completer.complete();
|
| - }, VoidTovoid$()), dart.fn(error => {
|
| + }, VoidToNull()), dart.fn(error => {
|
| completer.completeError(error);
|
| - }, FileErrorTovoid()));
|
| + }, FileErrorToNull()));
|
| return completer.future;
|
| }
|
| };
|
| @@ -70124,9 +70127,9 @@
|
| let completer = CompleterOfListOfEntry().new();
|
| this[_readEntries](dart.fn(value => {
|
| completer.complete(value);
|
| - }, ListOfEntryTovoid()), dart.fn(error => {
|
| + }, ListOfEntryToNull()), dart.fn(error => {
|
| completer.completeError(error);
|
| - }, FileErrorTovoid()));
|
| + }, FileErrorToNull()));
|
| return completer.future;
|
| }
|
| };
|
| @@ -73508,9 +73511,9 @@
|
| let completer = CompleterOfFileWriter().new();
|
| this[_createWriter](dart.fn(value => {
|
| completer.complete(value);
|
| - }, FileWriterTovoid()), dart.fn(error => {
|
| + }, FileWriterToNull()), dart.fn(error => {
|
| completer.completeError(error);
|
| - }, FileErrorTovoid()));
|
| + }, FileErrorToNull()));
|
| return completer.future;
|
| }
|
| [_file$](...args) {
|
| @@ -73520,9 +73523,9 @@
|
| let completer = CompleterOfFile$().new();
|
| this[_file$](dart.fn(value => {
|
| completer.complete(value);
|
| - }, FileTovoid()), dart.fn(error => {
|
| + }, FileToNull()), dart.fn(error => {
|
| completer.completeError(error);
|
| - }, FileErrorTovoid()));
|
| + }, FileErrorToNull()));
|
| return completer.future;
|
| }
|
| };
|
| @@ -74586,9 +74589,9 @@
|
| try {
|
| this[_getCurrentPosition](dart.fn(position => {
|
| completer.complete(this[_ensurePosition](position));
|
| - }, GeopositionTovoid()), dart.fn(error => {
|
| + }, GeopositionToNull()), dart.fn(error => {
|
| completer.completeError(error);
|
| - }, PositionErrorTovoid()), options);
|
| + }, PositionErrorToNull()), options);
|
| } catch (e) {
|
| let stacktrace = dart.stackTrace(e);
|
| completer.completeError(e, stacktrace);
|
| @@ -74616,13 +74619,13 @@
|
| dart.assert(watchId == null);
|
| watchId = this[_watchPosition](dart.fn(position => {
|
| controller.add(this[_ensurePosition](position));
|
| - }, GeopositionTovoid()), dart.fn(error => {
|
| + }, GeopositionToNull()), dart.fn(error => {
|
| controller.addError(error);
|
| - }, PositionErrorTovoid()), options);
|
| - }, VoidTovoid$()), onCancel: dart.fn(() => {
|
| + }, PositionErrorToNull()), options);
|
| + }, VoidToNull()), onCancel: dart.fn(() => {
|
| dart.assert(watchId != null);
|
| this[_clearWatch](watchId);
|
| - }, VoidTodynamic$())});
|
| + }, VoidToNull())});
|
| return controller.stream;
|
| }
|
| [_ensurePosition](domPosition) {
|
| @@ -76026,7 +76029,7 @@
|
| let parts = [];
|
| data[dartx.forEach](dart.fn((key, value) => {
|
| parts[dartx.add](dart.str`${core.Uri.encodeQueryComponent(key)}=` + dart.str`${core.Uri.encodeQueryComponent(value)}`);
|
| - }, StringAndStringTovoid$()));
|
| + }, StringAndStringToNull()));
|
| let formData = parts[dartx.join]('&');
|
| if (requestHeaders == null) {
|
| requestHeaders = dart.map({}, core.String, core.String);
|
| @@ -76060,7 +76063,7 @@
|
| if (requestHeaders != null) {
|
| requestHeaders[dartx.forEach](dart.fn((header, value) => {
|
| xhr[dartx.setRequestHeader](header, value);
|
| - }, StringAndStringTovoid$()));
|
| + }, StringAndStringToNull()));
|
| }
|
| if (onProgress != null) {
|
| xhr[dartx.onProgress].listen(onProgress);
|
| @@ -76075,7 +76078,7 @@
|
| } else {
|
| completer.completeError(e);
|
| }
|
| - }, ProgressEventTovoid$()));
|
| + }, ProgressEventToNull()));
|
| xhr[dartx.onError].listen(dart.bind(completer, 'completeError'));
|
| if (sendData != null) {
|
| xhr[dartx.send](sendData);
|
| @@ -76112,13 +76115,13 @@
|
| }
|
| let xhr = new XDomainRequest();
|
| xhr.open(method, url);
|
| - xhr.onload = _js_helper.convertDartClosureToJS(dynamicTodynamic())(dart.fn(e => {
|
| + xhr.onload = _js_helper.convertDartClosureToJS(dynamicToNull())(dart.fn(e => {
|
| let response = xhr.responseText;
|
| completer.complete(response);
|
| - }, dynamicTodynamic$()), 1);
|
| - xhr.onerror = _js_helper.convertDartClosureToJS(dynamicTodynamic())(dart.fn(e => {
|
| + }, dynamicToNull$()), 1);
|
| + xhr.onerror = _js_helper.convertDartClosureToJS(dynamicToNull())(dart.fn(e => {
|
| completer.completeError(e);
|
| - }, dynamicTodynamic$()), 1);
|
| + }, dynamicToNull$()), 1);
|
| xhr.onprogress = {};
|
| xhr.ontimeout = {};
|
| xhr.timeout = Number.MAX_VALUE;
|
| @@ -79995,7 +79998,7 @@
|
| let completer = CompleterOfListOfSourceInfo().new();
|
| html$.MediaStreamTrack._getSources(dart.fn(value => {
|
| completer.complete(value);
|
| - }, ListOfSourceInfoTovoid()));
|
| + }, ListOfSourceInfoToNull()));
|
| return completer.future;
|
| }
|
| [dartx.stop](...args) {
|
| @@ -81216,7 +81219,7 @@
|
| function override(key, value) {
|
| if (value != null) html$.MutationObserver._add(parsedOptions, core.String._check(key), value);
|
| }
|
| - dart.fn(override, dynamicAnddynamicTodynamic$());
|
| + dart.fn(override, dynamicAnddynamicToNull());
|
| override('childList', childList);
|
| override('attributes', attributes);
|
| override('characterData', characterData);
|
| @@ -81382,9 +81385,9 @@
|
| this[_ensureGetUserMedia]();
|
| this[_getUserMedia](html_common.convertDartToNative_SerializedScriptValue(options), dart.fn(stream => {
|
| completer.complete(stream);
|
| - }, MediaStreamTovoid()), dart.fn(error => {
|
| + }, MediaStreamToNull()), dart.fn(error => {
|
| completer.completeError(error);
|
| - }, NavigatorUserMediaErrorTovoid()));
|
| + }, NavigatorUserMediaErrorToNull()));
|
| return completer.future;
|
| }
|
| [_ensureGetUserMedia]() {
|
| @@ -82256,7 +82259,7 @@
|
| let completer = CompleterOfString().new();
|
| html$.Notification._requestPermission(dart.fn(value => {
|
| completer.complete(value);
|
| - }, StringTovoid$()));
|
| + }, StringToNull()));
|
| return completer.future;
|
| }
|
| get [dartx.onClick]() {
|
| @@ -85271,9 +85274,9 @@
|
| let completer = CompleterOfRtcSessionDescription().new();
|
| this[_createOffer](dart.fn(value => {
|
| completer.complete(value);
|
| - }, RtcSessionDescriptionTovoid()), dart.fn(error => {
|
| + }, RtcSessionDescriptionToNull()), dart.fn(error => {
|
| completer.completeError(error);
|
| - }, StringTovoid$()), mediaConstraints);
|
| + }, StringToNull()), mediaConstraints);
|
| return completer.future;
|
| }
|
| [dartx.createAnswer](mediaConstraints) {
|
| @@ -85281,16 +85284,16 @@
|
| let completer = CompleterOfRtcSessionDescription().new();
|
| this[_createAnswer](dart.fn(value => {
|
| completer.complete(value);
|
| - }, RtcSessionDescriptionTovoid()), dart.fn(error => {
|
| + }, RtcSessionDescriptionToNull()), dart.fn(error => {
|
| completer.completeError(error);
|
| - }, StringTovoid$()), mediaConstraints);
|
| + }, StringToNull()), mediaConstraints);
|
| return completer.future;
|
| }
|
| [dartx.getStats](selector) {
|
| let completer = CompleterOfRtcStatsResponse().new();
|
| this[_getStats](dart.fn(value => {
|
| completer.complete(value);
|
| - }, RtcStatsResponseTovoid()), selector);
|
| + }, RtcStatsResponseToNull()), selector);
|
| return completer.future;
|
| }
|
| static _() {
|
| @@ -85406,9 +85409,9 @@
|
| let completer = async.Completer.new();
|
| this[_setLocalDescription](description, dart.fn(() => {
|
| completer.complete();
|
| - }, VoidTovoid$()), dart.fn(error => {
|
| + }, VoidToNull()), dart.fn(error => {
|
| completer.completeError(error);
|
| - }, StringTovoid$()));
|
| + }, StringToNull()));
|
| return completer.future;
|
| }
|
| [_setRemoteDescription](...args) {
|
| @@ -85418,9 +85421,9 @@
|
| let completer = async.Completer.new();
|
| this[_setRemoteDescription](description, dart.fn(() => {
|
| completer.complete();
|
| - }, VoidTovoid$()), dart.fn(error => {
|
| + }, VoidToNull()), dart.fn(error => {
|
| completer.completeError(error);
|
| - }, StringTovoid$()));
|
| + }, StringToNull()));
|
| return completer.future;
|
| }
|
| [dartx.updateIce](configuration, mediaConstraints) {
|
| @@ -88238,7 +88241,7 @@
|
| [dartx.addAll](other) {
|
| other[dartx.forEach](dart.fn((k, v) => {
|
| this[dartx._set](k, v);
|
| - }, StringAndStringTovoid$()));
|
| + }, StringAndStringToNull()));
|
| }
|
| [dartx.containsValue](value) {
|
| return this[dartx.values][dartx.any](dart.fn(e => dart.equals(e, value), StringTobool$()));
|
| @@ -92074,7 +92077,7 @@
|
| let completer = CompleterOfnum().sync();
|
| this[dartx.requestAnimationFrame](dart.fn(time => {
|
| completer.complete(time);
|
| - }, numTovoid()));
|
| + }, numToNull()));
|
| return completer.future;
|
| }
|
| get [dartx.document]() {
|
| @@ -92529,9 +92532,9 @@
|
| let completer = CompleterOfFileSystem().new();
|
| this[__requestFileSystem](type, size, dart.fn(value => {
|
| completer.complete(value);
|
| - }, FileSystemTovoid()), dart.fn(error => {
|
| + }, FileSystemToNull()), dart.fn(error => {
|
| completer.completeError(error);
|
| - }, FileErrorTovoid()));
|
| + }, FileErrorToNull()));
|
| return completer.future;
|
| }
|
| [_resolveLocalFileSystemUrl](...args) {
|
| @@ -92541,9 +92544,9 @@
|
| let completer = CompleterOfEntry().new();
|
| this[_resolveLocalFileSystemUrl](url, dart.fn(value => {
|
| completer.complete(value);
|
| - }, EntryTovoid()), dart.fn(error => {
|
| + }, EntryToNull()), dart.fn(error => {
|
| completer.completeError(error);
|
| - }, FileErrorTovoid()));
|
| + }, FileErrorToNull()));
|
| return completer.future;
|
| }
|
| [dartx.atob](...args) {
|
| @@ -93233,7 +93236,7 @@
|
| stream.listen(dart.fn(event => {
|
| let wrapped = new html$._BeforeUnloadEvent(event);
|
| controller.add(wrapped);
|
| - }, BeforeUnloadEventTovoid()));
|
| + }, BeforeUnloadEventToNull()));
|
| return controller.stream;
|
| }
|
| getEventType(target) {
|
| @@ -94939,7 +94942,7 @@
|
| addAll(other) {
|
| other[dartx.forEach](dart.fn((k, v) => {
|
| this._set(k, v);
|
| - }, StringAndStringTovoid$()));
|
| + }, StringAndStringToNull()));
|
| }
|
| containsValue(value) {
|
| for (let v of this.values) {
|
| @@ -95126,7 +95129,7 @@
|
| addAll(other) {
|
| other[dartx.forEach](dart.fn((k, v) => {
|
| this._set(k, v);
|
| - }, StringAndStringTovoid$()));
|
| + }, StringAndStringToNull()));
|
| }
|
| containsValue(value) {
|
| return this.values[dartx.any](dart.fn(v => dart.equals(v, value), StringTobool$()));
|
| @@ -95157,7 +95160,7 @@
|
| if (dart.test(this[_matches](key))) {
|
| f(this[_strip](key), value);
|
| }
|
| - }, StringAndStringTovoid$()));
|
| + }, StringAndStringToNull()));
|
| }
|
| get keys() {
|
| let keys = JSArrayOfString().of([]);
|
| @@ -95165,7 +95168,7 @@
|
| if (dart.test(this[_matches](key))) {
|
| keys[dartx.add](this[_strip](key));
|
| }
|
| - }, StringAndStringTovoid$()));
|
| + }, StringAndStringToNull()));
|
| return keys;
|
| }
|
| get values() {
|
| @@ -95174,7 +95177,7 @@
|
| if (dart.test(this[_matches](key))) {
|
| values[dartx.add](value);
|
| }
|
| - }, StringAndStringTovoid$()));
|
| + }, StringAndStringToNull()));
|
| return values;
|
| }
|
| get length() {
|
| @@ -98431,7 +98434,7 @@
|
| if (request[dartx.readyState] == html$.HttpRequest.DONE) {
|
| onComplete(request);
|
| }
|
| - }, ProgressEventTovoid$()));
|
| + }, ProgressEventToNull()));
|
| request[dartx.send]();
|
| return request;
|
| }
|
| @@ -99177,7 +99180,7 @@
|
| this.writeSlot(slot, copy);
|
| e[dartx.forEach](dart.fn((key, value) => {
|
| this.putIntoMap(copy, key, this.walk(value));
|
| - }, dynamicAnddynamicTovoid$()));
|
| + }, dynamicAnddynamicToNull()));
|
| return copy;
|
| }
|
| if (core.List.is(e)) {
|
| @@ -99387,7 +99390,7 @@
|
| }
|
| dict[dartx.forEach](dart.fn((key, value) => {
|
| object[key] = value;
|
| - }, StringAnddynamicTovoid()));
|
| + }, StringAnddynamicToNull()));
|
| return object;
|
| };
|
| dart.fn(html_common.convertDartToNative_Dictionary, Map__Todynamic());
|
| @@ -99412,7 +99415,7 @@
|
| let mustCopy = opts && 'mustCopy' in opts ? opts.mustCopy : false;
|
| return new html_common._AcceptStructuredCloneDart2Js().convertNativeToDart_AcceptStructuredClone(object, {mustCopy: mustCopy});
|
| };
|
| - dart.fn(html_common.convertNativeToDart_AcceptStructuredClone, dynamic__Todynamic$0());
|
| + dart.fn(html_common.convertNativeToDart_AcceptStructuredClone, dynamic__Todynamic());
|
| html_common._StructuredCloneDart2Js = class _StructuredCloneDart2Js extends html_common._StructuredClone {
|
| new() {
|
| super.new();
|
| @@ -107383,13 +107386,13 @@
|
| let completer = CompleterOfAudioBuffer().new();
|
| this[_decodeAudioData](audioData, dart.fn(value => {
|
| completer.complete(value);
|
| - }, AudioBufferTovoid()), dart.fn(error => {
|
| + }, AudioBufferToNull()), dart.fn(error => {
|
| if (error == null) {
|
| completer.completeError('');
|
| } else {
|
| completer.completeError(error);
|
| }
|
| - }, AudioBufferTovoid()));
|
| + }, AudioBufferToNull()));
|
| return completer.future;
|
| }
|
| };
|
|
|