From 33b3424802d6b9db1244b40002937196a3387529 Mon Sep 17 00:00:00 2001 From: Anna Gringauze Date: Fri, 13 May 2022 17:34:34 -0700 Subject: [PATCH 1/9] Make data types null safe --- dwds/build.yaml | 3 + dwds/lib/data/build_result.dart | 2 - dwds/lib/data/build_result.g.dart | 27 +- dwds/lib/data/connect_request.dart | 2 - dwds/lib/data/connect_request.g.dart | 46 +- dwds/lib/data/debug_event.dart | 2 - dwds/lib/data/debug_event.g.dart | 74 +- dwds/lib/data/devtools_request.dart | 14 +- dwds/lib/data/devtools_request.g.dart | 118 +-- dwds/lib/data/error_response.dart | 2 - dwds/lib/data/error_response.g.dart | 36 +- dwds/lib/data/extension_request.dart | 8 +- dwds/lib/data/extension_request.g.dart | 168 ++--- dwds/lib/data/isolate_events.dart | 2 - dwds/lib/data/isolate_events.g.dart | 26 +- dwds/lib/data/register_event.dart | 2 - dwds/lib/data/register_event.g.dart | 36 +- dwds/lib/data/run_request.dart | 2 - dwds/lib/data/run_request.g.dart | 13 +- dwds/lib/data/serializers.dart | 3 +- dwds/lib/data/serializers.g.dart | 1 - dwds/lib/src/injected/client.js | 956 ++++++++++++++++--------- 22 files changed, 896 insertions(+), 647 deletions(-) diff --git a/dwds/build.yaml b/dwds/build.yaml index 89fa4ee73..433a6f500 100644 --- a/dwds/build.yaml +++ b/dwds/build.yaml @@ -1,6 +1,9 @@ targets: $default: builders: + built_value_generator|built_value: + options: + header: '// ignore_for_file: unnecessary_lambdas' build_web_compilers|entrypoint: options: compiler: dart2js diff --git a/dwds/lib/data/build_result.dart b/dwds/lib/data/build_result.dart index 205d68227..47843caf1 100644 --- a/dwds/lib/data/build_result.dart +++ b/dwds/lib/data/build_result.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// @dart = 2.9 - import 'package:built_collection/built_collection.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; diff --git a/dwds/lib/data/build_result.g.dart b/dwds/lib/data/build_result.g.dart index 6d646b936..24bf341d6 100644 --- a/dwds/lib/data/build_result.g.dart +++ b/dwds/lib/data/build_result.g.dart @@ -1,5 +1,4 @@ // GENERATED CODE - DO NOT MODIFY BY HAND -// @dart=2.9 part of 'build_result.dart'; @@ -58,9 +57,9 @@ class _$BuildResultSerializer implements StructuredSerializer { final String wireName = 'BuildResult'; @override - Iterable serialize(Serializers serializers, BuildResult object, + Iterable serialize(Serializers serializers, BuildResult object, {FullType specifiedType = FullType.unspecified}) { - final result = [ + final result = [ 'status', serializers.serialize(object.status, specifiedType: const FullType(BuildStatus)), @@ -70,19 +69,19 @@ class _$BuildResultSerializer implements StructuredSerializer { } @override - BuildResult deserialize(Serializers serializers, Iterable serialized, + BuildResult deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { final result = new BuildResultBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { - final key = iterator.current as String; + final key = iterator.current! as String; iterator.moveNext(); - final Object value = iterator.current; + final Object? value = iterator.current; switch (key) { case 'status': result.status = serializers.deserialize(value, - specifiedType: const FullType(BuildStatus)) as BuildStatus; + specifiedType: const FullType(BuildStatus))! as BuildStatus; break; } } @@ -95,10 +94,10 @@ class _$BuildResult extends BuildResult { @override final BuildStatus status; - factory _$BuildResult([void Function(BuildResultBuilder) updates]) => + factory _$BuildResult([void Function(BuildResultBuilder)? updates]) => (new BuildResultBuilder()..update(updates))._build(); - _$BuildResult._({this.status}) : super._() { + _$BuildResult._({required this.status}) : super._() { BuiltValueNullFieldError.checkNotNull(status, 'BuildResult', 'status'); } @@ -128,11 +127,11 @@ class _$BuildResult extends BuildResult { } class BuildResultBuilder implements Builder { - _$BuildResult _$v; + _$BuildResult? _$v; - BuildStatus _status; - BuildStatus get status => _$this._status; - set status(BuildStatus status) => _$this._status = status; + BuildStatus? _status; + BuildStatus? get status => _$this._status; + set status(BuildStatus? status) => _$this._status = status; BuildResultBuilder(); @@ -152,7 +151,7 @@ class BuildResultBuilder implements Builder { } @override - void update(void Function(BuildResultBuilder) updates) { + void update(void Function(BuildResultBuilder)? updates) { if (updates != null) updates(this); } diff --git a/dwds/lib/data/connect_request.dart b/dwds/lib/data/connect_request.dart index dd5eaed9c..23ee5364f 100644 --- a/dwds/lib/data/connect_request.dart +++ b/dwds/lib/data/connect_request.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// @dart = 2.9 - import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; diff --git a/dwds/lib/data/connect_request.g.dart b/dwds/lib/data/connect_request.g.dart index db956da1f..aa1076516 100644 --- a/dwds/lib/data/connect_request.g.dart +++ b/dwds/lib/data/connect_request.g.dart @@ -1,5 +1,4 @@ // GENERATED CODE - DO NOT MODIFY BY HAND -// @dart=2.9 part of 'connect_request.dart'; @@ -18,9 +17,9 @@ class _$ConnectRequestSerializer final String wireName = 'ConnectRequest'; @override - Iterable serialize(Serializers serializers, ConnectRequest object, + Iterable serialize(Serializers serializers, ConnectRequest object, {FullType specifiedType = FullType.unspecified}) { - final result = [ + final result = [ 'appId', serializers.serialize(object.appId, specifiedType: const FullType(String)), @@ -37,27 +36,27 @@ class _$ConnectRequestSerializer @override ConnectRequest deserialize( - Serializers serializers, Iterable serialized, + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { final result = new ConnectRequestBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { - final key = iterator.current as String; + final key = iterator.current! as String; iterator.moveNext(); - final Object value = iterator.current; + final Object? value = iterator.current; switch (key) { case 'appId': result.appId = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String))! as String; break; case 'instanceId': result.instanceId = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String))! as String; break; case 'entrypointPath': result.entrypointPath = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String))! as String; break; } } @@ -74,10 +73,13 @@ class _$ConnectRequest extends ConnectRequest { @override final String entrypointPath; - factory _$ConnectRequest([void Function(ConnectRequestBuilder) updates]) => + factory _$ConnectRequest([void Function(ConnectRequestBuilder)? updates]) => (new ConnectRequestBuilder()..update(updates))._build(); - _$ConnectRequest._({this.appId, this.instanceId, this.entrypointPath}) + _$ConnectRequest._( + {required this.appId, + required this.instanceId, + required this.entrypointPath}) : super._() { BuiltValueNullFieldError.checkNotNull(appId, 'ConnectRequest', 'appId'); BuiltValueNullFieldError.checkNotNull( @@ -121,19 +123,19 @@ class _$ConnectRequest extends ConnectRequest { class ConnectRequestBuilder implements Builder { - _$ConnectRequest _$v; + _$ConnectRequest? _$v; - String _appId; - String get appId => _$this._appId; - set appId(String appId) => _$this._appId = appId; + String? _appId; + String? get appId => _$this._appId; + set appId(String? appId) => _$this._appId = appId; - String _instanceId; - String get instanceId => _$this._instanceId; - set instanceId(String instanceId) => _$this._instanceId = instanceId; + String? _instanceId; + String? get instanceId => _$this._instanceId; + set instanceId(String? instanceId) => _$this._instanceId = instanceId; - String _entrypointPath; - String get entrypointPath => _$this._entrypointPath; - set entrypointPath(String entrypointPath) => + String? _entrypointPath; + String? get entrypointPath => _$this._entrypointPath; + set entrypointPath(String? entrypointPath) => _$this._entrypointPath = entrypointPath; ConnectRequestBuilder(); @@ -156,7 +158,7 @@ class ConnectRequestBuilder } @override - void update(void Function(ConnectRequestBuilder) updates) { + void update(void Function(ConnectRequestBuilder)? updates) { if (updates != null) updates(this); } diff --git a/dwds/lib/data/debug_event.dart b/dwds/lib/data/debug_event.dart index a98e9cc18..54b83271a 100644 --- a/dwds/lib/data/debug_event.dart +++ b/dwds/lib/data/debug_event.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// @dart = 2.9 - import 'package:built_collection/built_collection.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; diff --git a/dwds/lib/data/debug_event.g.dart b/dwds/lib/data/debug_event.g.dart index 871f2a856..b38ec2871 100644 --- a/dwds/lib/data/debug_event.g.dart +++ b/dwds/lib/data/debug_event.g.dart @@ -1,5 +1,4 @@ // GENERATED CODE - DO NOT MODIFY BY HAND -// @dart=2.9 part of 'debug_event.dart'; @@ -18,9 +17,9 @@ class _$DebugEventSerializer implements StructuredSerializer { final String wireName = 'DebugEvent'; @override - Iterable serialize(Serializers serializers, DebugEvent object, + Iterable serialize(Serializers serializers, DebugEvent object, {FullType specifiedType = FullType.unspecified}) { - final result = [ + final result = [ 'kind', serializers.serialize(object.kind, specifiedType: const FullType(String)), 'eventData', @@ -35,27 +34,27 @@ class _$DebugEventSerializer implements StructuredSerializer { } @override - DebugEvent deserialize(Serializers serializers, Iterable serialized, + DebugEvent deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { final result = new DebugEventBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { - final key = iterator.current as String; + final key = iterator.current! as String; iterator.moveNext(); - final Object value = iterator.current; + final Object? value = iterator.current; switch (key) { case 'kind': result.kind = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String))! as String; break; case 'eventData': result.eventData = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String))! as String; break; case 'timestamp': result.timestamp = serializers.deserialize(value, - specifiedType: const FullType(int)) as int; + specifiedType: const FullType(int))! as int; break; } } @@ -72,9 +71,10 @@ class _$BatchedDebugEventsSerializer final String wireName = 'BatchedDebugEvents'; @override - Iterable serialize(Serializers serializers, BatchedDebugEvents object, + Iterable serialize( + Serializers serializers, BatchedDebugEvents object, {FullType specifiedType = FullType.unspecified}) { - final result = [ + final result = [ 'events', serializers.serialize(object.events, specifiedType: @@ -86,21 +86,21 @@ class _$BatchedDebugEventsSerializer @override BatchedDebugEvents deserialize( - Serializers serializers, Iterable serialized, + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { final result = new BatchedDebugEventsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { - final key = iterator.current as String; + final key = iterator.current! as String; iterator.moveNext(); - final Object value = iterator.current; + final Object? value = iterator.current; switch (key) { case 'events': result.events.replace(serializers.deserialize(value, specifiedType: const FullType( - BuiltList, const [const FullType(DebugEvent)])) - as BuiltList); + BuiltList, const [const FullType(DebugEvent)]))! + as BuiltList); break; } } @@ -117,10 +117,12 @@ class _$DebugEvent extends DebugEvent { @override final int timestamp; - factory _$DebugEvent([void Function(DebugEventBuilder) updates]) => + factory _$DebugEvent([void Function(DebugEventBuilder)? updates]) => (new DebugEventBuilder()..update(updates))._build(); - _$DebugEvent._({this.kind, this.eventData, this.timestamp}) : super._() { + _$DebugEvent._( + {required this.kind, required this.eventData, required this.timestamp}) + : super._() { BuiltValueNullFieldError.checkNotNull(kind, 'DebugEvent', 'kind'); BuiltValueNullFieldError.checkNotNull(eventData, 'DebugEvent', 'eventData'); BuiltValueNullFieldError.checkNotNull(timestamp, 'DebugEvent', 'timestamp'); @@ -159,19 +161,19 @@ class _$DebugEvent extends DebugEvent { } class DebugEventBuilder implements Builder { - _$DebugEvent _$v; + _$DebugEvent? _$v; - String _kind; - String get kind => _$this._kind; - set kind(String kind) => _$this._kind = kind; + String? _kind; + String? get kind => _$this._kind; + set kind(String? kind) => _$this._kind = kind; - String _eventData; - String get eventData => _$this._eventData; - set eventData(String eventData) => _$this._eventData = eventData; + String? _eventData; + String? get eventData => _$this._eventData; + set eventData(String? eventData) => _$this._eventData = eventData; - int _timestamp; - int get timestamp => _$this._timestamp; - set timestamp(int timestamp) => _$this._timestamp = timestamp; + int? _timestamp; + int? get timestamp => _$this._timestamp; + set timestamp(int? timestamp) => _$this._timestamp = timestamp; DebugEventBuilder(); @@ -193,7 +195,7 @@ class DebugEventBuilder implements Builder { } @override - void update(void Function(DebugEventBuilder) updates) { + void update(void Function(DebugEventBuilder)? updates) { if (updates != null) updates(this); } @@ -219,10 +221,10 @@ class _$BatchedDebugEvents extends BatchedDebugEvents { final BuiltList events; factory _$BatchedDebugEvents( - [void Function(BatchedDebugEventsBuilder) updates]) => + [void Function(BatchedDebugEventsBuilder)? updates]) => (new BatchedDebugEventsBuilder()..update(updates))._build(); - _$BatchedDebugEvents._({this.events}) : super._() { + _$BatchedDebugEvents._({required this.events}) : super._() { BuiltValueNullFieldError.checkNotNull( events, 'BatchedDebugEvents', 'events'); } @@ -257,12 +259,12 @@ class _$BatchedDebugEvents extends BatchedDebugEvents { class BatchedDebugEventsBuilder implements Builder { - _$BatchedDebugEvents _$v; + _$BatchedDebugEvents? _$v; - ListBuilder _events; + ListBuilder? _events; ListBuilder get events => _$this._events ??= new ListBuilder(); - set events(ListBuilder events) => _$this._events = events; + set events(ListBuilder? events) => _$this._events = events; BatchedDebugEventsBuilder(); @@ -282,7 +284,7 @@ class BatchedDebugEventsBuilder } @override - void update(void Function(BatchedDebugEventsBuilder) updates) { + void update(void Function(BatchedDebugEventsBuilder)? updates) { if (updates != null) updates(this); } @@ -294,7 +296,7 @@ class BatchedDebugEventsBuilder try { _$result = _$v ?? new _$BatchedDebugEvents._(events: events.build()); } catch (_) { - String _$failedField; + late String _$failedField; try { _$failedField = 'events'; events.build(); diff --git a/dwds/lib/data/devtools_request.dart b/dwds/lib/data/devtools_request.dart index 1b69fc2cb..214ae29fa 100644 --- a/dwds/lib/data/devtools_request.dart +++ b/dwds/lib/data/devtools_request.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// @dart = 2.9 - import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -27,16 +25,13 @@ abstract class DevToolsRequest String get instanceId; /// Identifies the context in which evaluations should occur. - @nullable - int get contextId; + int? get contextId; /// Belongs to the tab that requests the DevTools - @nullable - String get tabUrl; + String? get tabUrl; /// If this is a uri only request. - @nullable - bool get uriOnly; + bool? get uriOnly; } /// A response to a [DevToolsRequest]. @@ -54,6 +49,5 @@ abstract class DevToolsResponse bool get promptExtension; - @nullable - String get error; + String? get error; } diff --git a/dwds/lib/data/devtools_request.g.dart b/dwds/lib/data/devtools_request.g.dart index 1c81b93b3..f6e3d3aac 100644 --- a/dwds/lib/data/devtools_request.g.dart +++ b/dwds/lib/data/devtools_request.g.dart @@ -1,5 +1,4 @@ // GENERATED CODE - DO NOT MODIFY BY HAND -// @dart=2.9 part of 'devtools_request.dart'; @@ -20,9 +19,9 @@ class _$DevToolsRequestSerializer final String wireName = 'DevToolsRequest'; @override - Iterable serialize(Serializers serializers, DevToolsRequest object, + Iterable serialize(Serializers serializers, DevToolsRequest object, {FullType specifiedType = FullType.unspecified}) { - final result = [ + final result = [ 'appId', serializers.serialize(object.appId, specifiedType: const FullType(String)), @@ -30,7 +29,7 @@ class _$DevToolsRequestSerializer serializers.serialize(object.instanceId, specifiedType: const FullType(String)), ]; - Object value; + Object? value; value = object.contextId; if (value != null) { result @@ -56,35 +55,35 @@ class _$DevToolsRequestSerializer @override DevToolsRequest deserialize( - Serializers serializers, Iterable serialized, + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { final result = new DevToolsRequestBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { - final key = iterator.current as String; + final key = iterator.current! as String; iterator.moveNext(); - final Object value = iterator.current; + final Object? value = iterator.current; switch (key) { case 'appId': result.appId = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String))! as String; break; case 'instanceId': result.instanceId = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String))! as String; break; case 'contextId': result.contextId = serializers.deserialize(value, - specifiedType: const FullType(int)) as int; + specifiedType: const FullType(int)) as int?; break; case 'tabUrl': result.tabUrl = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String)) as String?; break; case 'uriOnly': result.uriOnly = serializers.deserialize(value, - specifiedType: const FullType(bool)) as bool; + specifiedType: const FullType(bool)) as bool?; break; } } @@ -101,9 +100,9 @@ class _$DevToolsResponseSerializer final String wireName = 'DevToolsResponse'; @override - Iterable serialize(Serializers serializers, DevToolsResponse object, + Iterable serialize(Serializers serializers, DevToolsResponse object, {FullType specifiedType = FullType.unspecified}) { - final result = [ + final result = [ 'success', serializers.serialize(object.success, specifiedType: const FullType(bool)), @@ -111,7 +110,7 @@ class _$DevToolsResponseSerializer serializers.serialize(object.promptExtension, specifiedType: const FullType(bool)), ]; - Object value; + Object? value; value = object.error; if (value != null) { result @@ -124,27 +123,27 @@ class _$DevToolsResponseSerializer @override DevToolsResponse deserialize( - Serializers serializers, Iterable serialized, + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { final result = new DevToolsResponseBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { - final key = iterator.current as String; + final key = iterator.current! as String; iterator.moveNext(); - final Object value = iterator.current; + final Object? value = iterator.current; switch (key) { case 'success': result.success = serializers.deserialize(value, - specifiedType: const FullType(bool)) as bool; + specifiedType: const FullType(bool))! as bool; break; case 'promptExtension': result.promptExtension = serializers.deserialize(value, - specifiedType: const FullType(bool)) as bool; + specifiedType: const FullType(bool))! as bool; break; case 'error': result.error = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String)) as String?; break; } } @@ -159,17 +158,21 @@ class _$DevToolsRequest extends DevToolsRequest { @override final String instanceId; @override - final int contextId; + final int? contextId; @override - final String tabUrl; + final String? tabUrl; @override - final bool uriOnly; + final bool? uriOnly; - factory _$DevToolsRequest([void Function(DevToolsRequestBuilder) updates]) => + factory _$DevToolsRequest([void Function(DevToolsRequestBuilder)? updates]) => (new DevToolsRequestBuilder()..update(updates))._build(); _$DevToolsRequest._( - {this.appId, this.instanceId, this.contextId, this.tabUrl, this.uriOnly}) + {required this.appId, + required this.instanceId, + this.contextId, + this.tabUrl, + this.uriOnly}) : super._() { BuiltValueNullFieldError.checkNotNull(appId, 'DevToolsRequest', 'appId'); BuiltValueNullFieldError.checkNotNull( @@ -219,27 +222,27 @@ class _$DevToolsRequest extends DevToolsRequest { class DevToolsRequestBuilder implements Builder { - _$DevToolsRequest _$v; + _$DevToolsRequest? _$v; - String _appId; - String get appId => _$this._appId; - set appId(String appId) => _$this._appId = appId; + String? _appId; + String? get appId => _$this._appId; + set appId(String? appId) => _$this._appId = appId; - String _instanceId; - String get instanceId => _$this._instanceId; - set instanceId(String instanceId) => _$this._instanceId = instanceId; + String? _instanceId; + String? get instanceId => _$this._instanceId; + set instanceId(String? instanceId) => _$this._instanceId = instanceId; - int _contextId; - int get contextId => _$this._contextId; - set contextId(int contextId) => _$this._contextId = contextId; + int? _contextId; + int? get contextId => _$this._contextId; + set contextId(int? contextId) => _$this._contextId = contextId; - String _tabUrl; - String get tabUrl => _$this._tabUrl; - set tabUrl(String tabUrl) => _$this._tabUrl = tabUrl; + String? _tabUrl; + String? get tabUrl => _$this._tabUrl; + set tabUrl(String? tabUrl) => _$this._tabUrl = tabUrl; - bool _uriOnly; - bool get uriOnly => _$this._uriOnly; - set uriOnly(bool uriOnly) => _$this._uriOnly = uriOnly; + bool? _uriOnly; + bool? get uriOnly => _$this._uriOnly; + set uriOnly(bool? uriOnly) => _$this._uriOnly = uriOnly; DevToolsRequestBuilder(); @@ -263,7 +266,7 @@ class DevToolsRequestBuilder } @override - void update(void Function(DevToolsRequestBuilder) updates) { + void update(void Function(DevToolsRequestBuilder)? updates) { if (updates != null) updates(this); } @@ -291,13 +294,14 @@ class _$DevToolsResponse extends DevToolsResponse { @override final bool promptExtension; @override - final String error; + final String? error; factory _$DevToolsResponse( - [void Function(DevToolsResponseBuilder) updates]) => + [void Function(DevToolsResponseBuilder)? updates]) => (new DevToolsResponseBuilder()..update(updates))._build(); - _$DevToolsResponse._({this.success, this.promptExtension, this.error}) + _$DevToolsResponse._( + {required this.success, required this.promptExtension, this.error}) : super._() { BuiltValueNullFieldError.checkNotNull( success, 'DevToolsResponse', 'success'); @@ -340,20 +344,20 @@ class _$DevToolsResponse extends DevToolsResponse { class DevToolsResponseBuilder implements Builder { - _$DevToolsResponse _$v; + _$DevToolsResponse? _$v; - bool _success; - bool get success => _$this._success; - set success(bool success) => _$this._success = success; + bool? _success; + bool? get success => _$this._success; + set success(bool? success) => _$this._success = success; - bool _promptExtension; - bool get promptExtension => _$this._promptExtension; - set promptExtension(bool promptExtension) => + bool? _promptExtension; + bool? get promptExtension => _$this._promptExtension; + set promptExtension(bool? promptExtension) => _$this._promptExtension = promptExtension; - String _error; - String get error => _$this._error; - set error(String error) => _$this._error = error; + String? _error; + String? get error => _$this._error; + set error(String? error) => _$this._error = error; DevToolsResponseBuilder(); @@ -375,7 +379,7 @@ class DevToolsResponseBuilder } @override - void update(void Function(DevToolsResponseBuilder) updates) { + void update(void Function(DevToolsResponseBuilder)? updates) { if (updates != null) updates(this); } diff --git a/dwds/lib/data/error_response.dart b/dwds/lib/data/error_response.dart index febe82091..65a477c33 100644 --- a/dwds/lib/data/error_response.dart +++ b/dwds/lib/data/error_response.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// @dart = 2.9 - import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; diff --git a/dwds/lib/data/error_response.g.dart b/dwds/lib/data/error_response.g.dart index 1fafdc2f0..734ee2c36 100644 --- a/dwds/lib/data/error_response.g.dart +++ b/dwds/lib/data/error_response.g.dart @@ -1,5 +1,4 @@ // GENERATED CODE - DO NOT MODIFY BY HAND -// @dart=2.9 part of 'error_response.dart'; @@ -17,9 +16,9 @@ class _$ErrorResponseSerializer implements StructuredSerializer { final String wireName = 'ErrorResponse'; @override - Iterable serialize(Serializers serializers, ErrorResponse object, + Iterable serialize(Serializers serializers, ErrorResponse object, {FullType specifiedType = FullType.unspecified}) { - final result = [ + final result = [ 'error', serializers.serialize(object.error, specifiedType: const FullType(String)), @@ -33,23 +32,23 @@ class _$ErrorResponseSerializer implements StructuredSerializer { @override ErrorResponse deserialize( - Serializers serializers, Iterable serialized, + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { final result = new ErrorResponseBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { - final key = iterator.current as String; + final key = iterator.current! as String; iterator.moveNext(); - final Object value = iterator.current; + final Object? value = iterator.current; switch (key) { case 'error': result.error = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String))! as String; break; case 'stackTrace': result.stackTrace = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String))! as String; break; } } @@ -64,10 +63,11 @@ class _$ErrorResponse extends ErrorResponse { @override final String stackTrace; - factory _$ErrorResponse([void Function(ErrorResponseBuilder) updates]) => + factory _$ErrorResponse([void Function(ErrorResponseBuilder)? updates]) => (new ErrorResponseBuilder()..update(updates))._build(); - _$ErrorResponse._({this.error, this.stackTrace}) : super._() { + _$ErrorResponse._({required this.error, required this.stackTrace}) + : super._() { BuiltValueNullFieldError.checkNotNull(error, 'ErrorResponse', 'error'); BuiltValueNullFieldError.checkNotNull( stackTrace, 'ErrorResponse', 'stackTrace'); @@ -104,15 +104,15 @@ class _$ErrorResponse extends ErrorResponse { class ErrorResponseBuilder implements Builder { - _$ErrorResponse _$v; + _$ErrorResponse? _$v; - String _error; - String get error => _$this._error; - set error(String error) => _$this._error = error; + String? _error; + String? get error => _$this._error; + set error(String? error) => _$this._error = error; - String _stackTrace; - String get stackTrace => _$this._stackTrace; - set stackTrace(String stackTrace) => _$this._stackTrace = stackTrace; + String? _stackTrace; + String? get stackTrace => _$this._stackTrace; + set stackTrace(String? stackTrace) => _$this._stackTrace = stackTrace; ErrorResponseBuilder(); @@ -133,7 +133,7 @@ class ErrorResponseBuilder } @override - void update(void Function(ErrorResponseBuilder) updates) { + void update(void Function(ErrorResponseBuilder)? updates) { if (updates != null) updates(this); } diff --git a/dwds/lib/data/extension_request.dart b/dwds/lib/data/extension_request.dart index 1838cc70a..812347db5 100644 --- a/dwds/lib/data/extension_request.dart +++ b/dwds/lib/data/extension_request.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// @dart = 2.9 - import 'package:built_collection/built_collection.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; @@ -29,8 +27,7 @@ abstract class ExtensionRequest String get command; /// Contains JSON-encoded parameters. - @nullable - String get commandParams; + String? get commandParams; } /// A response to an [ExtensionRequest]. @@ -52,8 +49,7 @@ abstract class ExtensionResponse /// Contains a JSON-encoded payload. String get result; - @nullable - String get error; + String? get error; } /// An event for Dart Debug Extension. diff --git a/dwds/lib/data/extension_request.g.dart b/dwds/lib/data/extension_request.g.dart index 1b2dca0b3..f40c4a2f3 100644 --- a/dwds/lib/data/extension_request.g.dart +++ b/dwds/lib/data/extension_request.g.dart @@ -1,5 +1,4 @@ // GENERATED CODE - DO NOT MODIFY BY HAND -// @dart=2.9 part of 'extension_request.dart'; @@ -24,16 +23,16 @@ class _$ExtensionRequestSerializer final String wireName = 'ExtensionRequest'; @override - Iterable serialize(Serializers serializers, ExtensionRequest object, + Iterable serialize(Serializers serializers, ExtensionRequest object, {FullType specifiedType = FullType.unspecified}) { - final result = [ + final result = [ 'id', serializers.serialize(object.id, specifiedType: const FullType(int)), 'command', serializers.serialize(object.command, specifiedType: const FullType(String)), ]; - Object value; + Object? value; value = object.commandParams; if (value != null) { result @@ -46,27 +45,27 @@ class _$ExtensionRequestSerializer @override ExtensionRequest deserialize( - Serializers serializers, Iterable serialized, + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { final result = new ExtensionRequestBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { - final key = iterator.current as String; + final key = iterator.current! as String; iterator.moveNext(); - final Object value = iterator.current; + final Object? value = iterator.current; switch (key) { case 'id': result.id = serializers.deserialize(value, - specifiedType: const FullType(int)) as int; + specifiedType: const FullType(int))! as int; break; case 'command': result.command = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String))! as String; break; case 'commandParams': result.commandParams = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String)) as String?; break; } } @@ -83,9 +82,9 @@ class _$ExtensionResponseSerializer final String wireName = 'ExtensionResponse'; @override - Iterable serialize(Serializers serializers, ExtensionResponse object, + Iterable serialize(Serializers serializers, ExtensionResponse object, {FullType specifiedType = FullType.unspecified}) { - final result = [ + final result = [ 'id', serializers.serialize(object.id, specifiedType: const FullType(int)), 'success', @@ -95,7 +94,7 @@ class _$ExtensionResponseSerializer serializers.serialize(object.result, specifiedType: const FullType(String)), ]; - Object value; + Object? value; value = object.error; if (value != null) { result @@ -108,31 +107,31 @@ class _$ExtensionResponseSerializer @override ExtensionResponse deserialize( - Serializers serializers, Iterable serialized, + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { final result = new ExtensionResponseBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { - final key = iterator.current as String; + final key = iterator.current! as String; iterator.moveNext(); - final Object value = iterator.current; + final Object? value = iterator.current; switch (key) { case 'id': result.id = serializers.deserialize(value, - specifiedType: const FullType(int)) as int; + specifiedType: const FullType(int))! as int; break; case 'success': result.success = serializers.deserialize(value, - specifiedType: const FullType(bool)) as bool; + specifiedType: const FullType(bool))! as bool; break; case 'result': result.result = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String))! as String; break; case 'error': result.error = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String)) as String?; break; } } @@ -149,9 +148,9 @@ class _$ExtensionEventSerializer final String wireName = 'ExtensionEvent'; @override - Iterable serialize(Serializers serializers, ExtensionEvent object, + Iterable serialize(Serializers serializers, ExtensionEvent object, {FullType specifiedType = FullType.unspecified}) { - final result = [ + final result = [ 'params', serializers.serialize(object.params, specifiedType: const FullType(String)), @@ -165,23 +164,23 @@ class _$ExtensionEventSerializer @override ExtensionEvent deserialize( - Serializers serializers, Iterable serialized, + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { final result = new ExtensionEventBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { - final key = iterator.current as String; + final key = iterator.current! as String; iterator.moveNext(); - final Object value = iterator.current; + final Object? value = iterator.current; switch (key) { case 'params': result.params = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String))! as String; break; case 'method': result.method = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String))! as String; break; } } @@ -197,9 +196,9 @@ class _$BatchedEventsSerializer implements StructuredSerializer { final String wireName = 'BatchedEvents'; @override - Iterable serialize(Serializers serializers, BatchedEvents object, + Iterable serialize(Serializers serializers, BatchedEvents object, {FullType specifiedType = FullType.unspecified}) { - final result = [ + final result = [ 'events', serializers.serialize(object.events, specifiedType: const FullType( @@ -211,21 +210,21 @@ class _$BatchedEventsSerializer implements StructuredSerializer { @override BatchedEvents deserialize( - Serializers serializers, Iterable serialized, + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { final result = new BatchedEventsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { - final key = iterator.current as String; + final key = iterator.current! as String; iterator.moveNext(); - final Object value = iterator.current; + final Object? value = iterator.current; switch (key) { case 'events': result.events.replace(serializers.deserialize(value, specifiedType: const FullType( - BuiltList, const [const FullType(ExtensionEvent)])) - as BuiltList); + BuiltList, const [const FullType(ExtensionEvent)]))! + as BuiltList); break; } } @@ -240,13 +239,14 @@ class _$ExtensionRequest extends ExtensionRequest { @override final String command; @override - final String commandParams; + final String? commandParams; factory _$ExtensionRequest( - [void Function(ExtensionRequestBuilder) updates]) => + [void Function(ExtensionRequestBuilder)? updates]) => (new ExtensionRequestBuilder()..update(updates))._build(); - _$ExtensionRequest._({this.id, this.command, this.commandParams}) + _$ExtensionRequest._( + {required this.id, required this.command, this.commandParams}) : super._() { BuiltValueNullFieldError.checkNotNull(id, 'ExtensionRequest', 'id'); BuiltValueNullFieldError.checkNotNull( @@ -288,19 +288,19 @@ class _$ExtensionRequest extends ExtensionRequest { class ExtensionRequestBuilder implements Builder { - _$ExtensionRequest _$v; + _$ExtensionRequest? _$v; - int _id; - int get id => _$this._id; - set id(int id) => _$this._id = id; + int? _id; + int? get id => _$this._id; + set id(int? id) => _$this._id = id; - String _command; - String get command => _$this._command; - set command(String command) => _$this._command = command; + String? _command; + String? get command => _$this._command; + set command(String? command) => _$this._command = command; - String _commandParams; - String get commandParams => _$this._commandParams; - set commandParams(String commandParams) => + String? _commandParams; + String? get commandParams => _$this._commandParams; + set commandParams(String? commandParams) => _$this._commandParams = commandParams; ExtensionRequestBuilder(); @@ -323,7 +323,7 @@ class ExtensionRequestBuilder } @override - void update(void Function(ExtensionRequestBuilder) updates) { + void update(void Function(ExtensionRequestBuilder)? updates) { if (updates != null) updates(this); } @@ -351,13 +351,17 @@ class _$ExtensionResponse extends ExtensionResponse { @override final String result; @override - final String error; + final String? error; factory _$ExtensionResponse( - [void Function(ExtensionResponseBuilder) updates]) => + [void Function(ExtensionResponseBuilder)? updates]) => (new ExtensionResponseBuilder()..update(updates))._build(); - _$ExtensionResponse._({this.id, this.success, this.result, this.error}) + _$ExtensionResponse._( + {required this.id, + required this.success, + required this.result, + this.error}) : super._() { BuiltValueNullFieldError.checkNotNull(id, 'ExtensionResponse', 'id'); BuiltValueNullFieldError.checkNotNull( @@ -404,23 +408,23 @@ class _$ExtensionResponse extends ExtensionResponse { class ExtensionResponseBuilder implements Builder { - _$ExtensionResponse _$v; + _$ExtensionResponse? _$v; - int _id; - int get id => _$this._id; - set id(int id) => _$this._id = id; + int? _id; + int? get id => _$this._id; + set id(int? id) => _$this._id = id; - bool _success; - bool get success => _$this._success; - set success(bool success) => _$this._success = success; + bool? _success; + bool? get success => _$this._success; + set success(bool? success) => _$this._success = success; - String _result; - String get result => _$this._result; - set result(String result) => _$this._result = result; + String? _result; + String? get result => _$this._result; + set result(String? result) => _$this._result = result; - String _error; - String get error => _$this._error; - set error(String error) => _$this._error = error; + String? _error; + String? get error => _$this._error; + set error(String? error) => _$this._error = error; ExtensionResponseBuilder(); @@ -443,7 +447,7 @@ class ExtensionResponseBuilder } @override - void update(void Function(ExtensionResponseBuilder) updates) { + void update(void Function(ExtensionResponseBuilder)? updates) { if (updates != null) updates(this); } @@ -471,10 +475,10 @@ class _$ExtensionEvent extends ExtensionEvent { @override final String method; - factory _$ExtensionEvent([void Function(ExtensionEventBuilder) updates]) => + factory _$ExtensionEvent([void Function(ExtensionEventBuilder)? updates]) => (new ExtensionEventBuilder()..update(updates))._build(); - _$ExtensionEvent._({this.params, this.method}) : super._() { + _$ExtensionEvent._({required this.params, required this.method}) : super._() { BuiltValueNullFieldError.checkNotNull(params, 'ExtensionEvent', 'params'); BuiltValueNullFieldError.checkNotNull(method, 'ExtensionEvent', 'method'); } @@ -511,15 +515,15 @@ class _$ExtensionEvent extends ExtensionEvent { class ExtensionEventBuilder implements Builder { - _$ExtensionEvent _$v; + _$ExtensionEvent? _$v; - String _params; - String get params => _$this._params; - set params(String params) => _$this._params = params; + String? _params; + String? get params => _$this._params; + set params(String? params) => _$this._params = params; - String _method; - String get method => _$this._method; - set method(String method) => _$this._method = method; + String? _method; + String? get method => _$this._method; + set method(String? method) => _$this._method = method; ExtensionEventBuilder(); @@ -540,7 +544,7 @@ class ExtensionEventBuilder } @override - void update(void Function(ExtensionEventBuilder) updates) { + void update(void Function(ExtensionEventBuilder)? updates) { if (updates != null) updates(this); } @@ -563,10 +567,10 @@ class _$BatchedEvents extends BatchedEvents { @override final BuiltList events; - factory _$BatchedEvents([void Function(BatchedEventsBuilder) updates]) => + factory _$BatchedEvents([void Function(BatchedEventsBuilder)? updates]) => (new BatchedEventsBuilder()..update(updates))._build(); - _$BatchedEvents._({this.events}) : super._() { + _$BatchedEvents._({required this.events}) : super._() { BuiltValueNullFieldError.checkNotNull(events, 'BatchedEvents', 'events'); } @@ -597,12 +601,12 @@ class _$BatchedEvents extends BatchedEvents { class BatchedEventsBuilder implements Builder { - _$BatchedEvents _$v; + _$BatchedEvents? _$v; - ListBuilder _events; + ListBuilder? _events; ListBuilder get events => _$this._events ??= new ListBuilder(); - set events(ListBuilder events) => _$this._events = events; + set events(ListBuilder? events) => _$this._events = events; BatchedEventsBuilder(); @@ -622,7 +626,7 @@ class BatchedEventsBuilder } @override - void update(void Function(BatchedEventsBuilder) updates) { + void update(void Function(BatchedEventsBuilder)? updates) { if (updates != null) updates(this); } @@ -634,7 +638,7 @@ class BatchedEventsBuilder try { _$result = _$v ?? new _$BatchedEvents._(events: events.build()); } catch (_) { - String _$failedField; + late String _$failedField; try { _$failedField = 'events'; events.build(); diff --git a/dwds/lib/data/isolate_events.dart b/dwds/lib/data/isolate_events.dart index 80d928e5f..e775e832d 100644 --- a/dwds/lib/data/isolate_events.dart +++ b/dwds/lib/data/isolate_events.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// @dart = 2.9 - import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; diff --git a/dwds/lib/data/isolate_events.g.dart b/dwds/lib/data/isolate_events.g.dart index a686af3a0..be9c06159 100644 --- a/dwds/lib/data/isolate_events.g.dart +++ b/dwds/lib/data/isolate_events.g.dart @@ -1,5 +1,4 @@ // GENERATED CODE - DO NOT MODIFY BY HAND -// @dart=2.9 part of 'isolate_events.dart'; @@ -18,13 +17,13 @@ class _$IsolateExitSerializer implements StructuredSerializer { final String wireName = 'IsolateExit'; @override - Iterable serialize(Serializers serializers, IsolateExit object, + Iterable serialize(Serializers serializers, IsolateExit object, {FullType specifiedType = FullType.unspecified}) { - return []; + return []; } @override - IsolateExit deserialize(Serializers serializers, Iterable serialized, + IsolateExit deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { return new IsolateExitBuilder().build(); } @@ -37,20 +36,21 @@ class _$IsolateStartSerializer implements StructuredSerializer { final String wireName = 'IsolateStart'; @override - Iterable serialize(Serializers serializers, IsolateStart object, + Iterable serialize(Serializers serializers, IsolateStart object, {FullType specifiedType = FullType.unspecified}) { - return []; + return []; } @override - IsolateStart deserialize(Serializers serializers, Iterable serialized, + IsolateStart deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { return new IsolateStartBuilder().build(); } } class _$IsolateExit extends IsolateExit { - factory _$IsolateExit([void Function(IsolateExitBuilder) updates]) => + factory _$IsolateExit([void Function(IsolateExitBuilder)? updates]) => (new IsolateExitBuilder()..update(updates))._build(); _$IsolateExit._() : super._(); @@ -80,7 +80,7 @@ class _$IsolateExit extends IsolateExit { } class IsolateExitBuilder implements Builder { - _$IsolateExit _$v; + _$IsolateExit? _$v; IsolateExitBuilder(); @@ -91,7 +91,7 @@ class IsolateExitBuilder implements Builder { } @override - void update(void Function(IsolateExitBuilder) updates) { + void update(void Function(IsolateExitBuilder)? updates) { if (updates != null) updates(this); } @@ -106,7 +106,7 @@ class IsolateExitBuilder implements Builder { } class _$IsolateStart extends IsolateStart { - factory _$IsolateStart([void Function(IsolateStartBuilder) updates]) => + factory _$IsolateStart([void Function(IsolateStartBuilder)? updates]) => (new IsolateStartBuilder()..update(updates))._build(); _$IsolateStart._() : super._(); @@ -137,7 +137,7 @@ class _$IsolateStart extends IsolateStart { class IsolateStartBuilder implements Builder { - _$IsolateStart _$v; + _$IsolateStart? _$v; IsolateStartBuilder(); @@ -148,7 +148,7 @@ class IsolateStartBuilder } @override - void update(void Function(IsolateStartBuilder) updates) { + void update(void Function(IsolateStartBuilder)? updates) { if (updates != null) updates(this); } diff --git a/dwds/lib/data/register_event.dart b/dwds/lib/data/register_event.dart index eb88aa2a0..19839aab0 100644 --- a/dwds/lib/data/register_event.dart +++ b/dwds/lib/data/register_event.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// @dart = 2.9 - import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; diff --git a/dwds/lib/data/register_event.g.dart b/dwds/lib/data/register_event.g.dart index 01bd5f162..c1fcfd705 100644 --- a/dwds/lib/data/register_event.g.dart +++ b/dwds/lib/data/register_event.g.dart @@ -1,5 +1,4 @@ // GENERATED CODE - DO NOT MODIFY BY HAND -// @dart=2.9 part of 'register_event.dart'; @@ -17,9 +16,9 @@ class _$RegisterEventSerializer implements StructuredSerializer { final String wireName = 'RegisterEvent'; @override - Iterable serialize(Serializers serializers, RegisterEvent object, + Iterable serialize(Serializers serializers, RegisterEvent object, {FullType specifiedType = FullType.unspecified}) { - final result = [ + final result = [ 'eventData', serializers.serialize(object.eventData, specifiedType: const FullType(String)), @@ -33,23 +32,23 @@ class _$RegisterEventSerializer implements StructuredSerializer { @override RegisterEvent deserialize( - Serializers serializers, Iterable serialized, + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { final result = new RegisterEventBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { - final key = iterator.current as String; + final key = iterator.current! as String; iterator.moveNext(); - final Object value = iterator.current; + final Object? value = iterator.current; switch (key) { case 'eventData': result.eventData = serializers.deserialize(value, - specifiedType: const FullType(String)) as String; + specifiedType: const FullType(String))! as String; break; case 'timestamp': result.timestamp = serializers.deserialize(value, - specifiedType: const FullType(int)) as int; + specifiedType: const FullType(int))! as int; break; } } @@ -64,10 +63,11 @@ class _$RegisterEvent extends RegisterEvent { @override final int timestamp; - factory _$RegisterEvent([void Function(RegisterEventBuilder) updates]) => + factory _$RegisterEvent([void Function(RegisterEventBuilder)? updates]) => (new RegisterEventBuilder()..update(updates))._build(); - _$RegisterEvent._({this.eventData, this.timestamp}) : super._() { + _$RegisterEvent._({required this.eventData, required this.timestamp}) + : super._() { BuiltValueNullFieldError.checkNotNull( eventData, 'RegisterEvent', 'eventData'); BuiltValueNullFieldError.checkNotNull( @@ -105,15 +105,15 @@ class _$RegisterEvent extends RegisterEvent { class RegisterEventBuilder implements Builder { - _$RegisterEvent _$v; + _$RegisterEvent? _$v; - String _eventData; - String get eventData => _$this._eventData; - set eventData(String eventData) => _$this._eventData = eventData; + String? _eventData; + String? get eventData => _$this._eventData; + set eventData(String? eventData) => _$this._eventData = eventData; - int _timestamp; - int get timestamp => _$this._timestamp; - set timestamp(int timestamp) => _$this._timestamp = timestamp; + int? _timestamp; + int? get timestamp => _$this._timestamp; + set timestamp(int? timestamp) => _$this._timestamp = timestamp; RegisterEventBuilder(); @@ -134,7 +134,7 @@ class RegisterEventBuilder } @override - void update(void Function(RegisterEventBuilder) updates) { + void update(void Function(RegisterEventBuilder)? updates) { if (updates != null) updates(this); } diff --git a/dwds/lib/data/run_request.dart b/dwds/lib/data/run_request.dart index 7ab954013..3204cbf41 100644 --- a/dwds/lib/data/run_request.dart +++ b/dwds/lib/data/run_request.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// @dart = 2.9 - import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; diff --git a/dwds/lib/data/run_request.g.dart b/dwds/lib/data/run_request.g.dart index 219846604..3ec66f41b 100644 --- a/dwds/lib/data/run_request.g.dart +++ b/dwds/lib/data/run_request.g.dart @@ -1,5 +1,4 @@ // GENERATED CODE - DO NOT MODIFY BY HAND -// @dart=2.9 part of 'run_request.dart'; @@ -16,20 +15,20 @@ class _$RunRequestSerializer implements StructuredSerializer { final String wireName = 'RunRequest'; @override - Iterable serialize(Serializers serializers, RunRequest object, + Iterable serialize(Serializers serializers, RunRequest object, {FullType specifiedType = FullType.unspecified}) { - return []; + return []; } @override - RunRequest deserialize(Serializers serializers, Iterable serialized, + RunRequest deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { return new RunRequestBuilder().build(); } } class _$RunRequest extends RunRequest { - factory _$RunRequest([void Function(RunRequestBuilder) updates]) => + factory _$RunRequest([void Function(RunRequestBuilder)? updates]) => (new RunRequestBuilder()..update(updates))._build(); _$RunRequest._() : super._(); @@ -59,7 +58,7 @@ class _$RunRequest extends RunRequest { } class RunRequestBuilder implements Builder { - _$RunRequest _$v; + _$RunRequest? _$v; RunRequestBuilder(); @@ -70,7 +69,7 @@ class RunRequestBuilder implements Builder { } @override - void update(void Function(RunRequestBuilder) updates) { + void update(void Function(RunRequestBuilder)? updates) { if (updates != null) updates(this); } diff --git a/dwds/lib/data/serializers.dart b/dwds/lib/data/serializers.dart index c516e893d..96e760803 100644 --- a/dwds/lib/data/serializers.dart +++ b/dwds/lib/data/serializers.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// @dart = 2.9 +// ignore_for_file: unnecessary_lambdas import 'package:built_collection/built_collection.dart'; import 'package:built_value/serializer.dart'; @@ -38,3 +38,4 @@ part 'serializers.g.dart'; RunRequest, ]) final Serializers serializers = _$serializers; + diff --git a/dwds/lib/data/serializers.g.dart b/dwds/lib/data/serializers.g.dart index 127c58da7..dcf85c6d1 100644 --- a/dwds/lib/data/serializers.g.dart +++ b/dwds/lib/data/serializers.g.dart @@ -1,5 +1,4 @@ // GENERATED CODE - DO NOT MODIFY BY HAND -// @dart=2.9 part of 'serializers.dart'; diff --git a/dwds/lib/src/injected/client.js b/dwds/lib/src/injected/client.js index ebaf1c419..483470f96 100644 --- a/dwds/lib/src/injected/client.js +++ b/dwds/lib/src/injected/client.js @@ -1,4 +1,4 @@ -// Generated by dart2js (NullSafetyMode.unsound, csp), the Dart to JavaScript compiler version: 2.17.0. +// Generated by dart2js (NullSafetyMode.unsound, csp), the Dart to JavaScript compiler version: 2.18.0-106.0.dev. // The code supports the following hooks: // dartPrint(message): // if this function is defined it is called instead of the Dart [print] @@ -245,7 +245,10 @@ return new A.LateError("Field '" + A.S(fieldName) + "' has been assigned during initialization."); }, LateError$fieldNI(fieldName) { - return new A.LateError("Field '" + fieldName + "' has not been initialized."); + return new A.LateError("Field '" + A.S(fieldName) + "' has not been initialized."); + }, + LateError$fieldAI(fieldName) { + return new A.LateError("Field '" + A.S(fieldName) + "' has already been initialized."); }, ReachabilityError$(_message) { return new A.ReachabilityError(_message); @@ -1870,6 +1873,12 @@ _.__js_helper$_index = t2; _.__js_helper$_current = null; }, + throwLateFieldNI(fieldName) { + return A.throwExpression(A.LateError$fieldNI(fieldName)); + }, + throwLateFieldAI(fieldName) { + return A.throwExpression(A.LateError$fieldAI(fieldName)); + }, throwLateFieldADI(fieldName) { return A.throwExpression(A.LateError$fieldADI(fieldName)); }, @@ -1877,19 +1886,6 @@ var t1 = new A._Cell(_name); return t1.__late_helper$_value = t1; }, - _lateReadCheck(value, $name) { - if (value === $) - throw A.wrapException(A.LateError$fieldNI($name)); - return value; - }, - _lateWriteOnceCheck(value, $name) { - if (value !== $) - throw A.wrapException(new A.LateError("Field '" + $name + "' has already been initialized.")); - }, - _lateInitializeOnceCheck(value, $name) { - if (value !== $) - throw A.wrapException(A.LateError$fieldADI($name)); - }, _Cell: function _Cell(t0) { this.__late_helper$_name = t0; this.__late_helper$_value = null; @@ -8593,7 +8589,7 @@ Uuid: function Uuid() { }, HtmlWebSocketChannel$connect(url, protocols) { - var t2, t3, localToForeignController, foreignToLocalController, t4, t5, t6, _null = null, + var t2, t3, localToForeignController, foreignToLocalController, t4, t5, _null = null, t1 = A.WebSocket_WebSocket(url.toString$0(0), protocols); B.WebSocket_methods.set$binaryType(t1, "arraybuffer"); t2 = new A.StreamChannelController(type$.StreamChannelController_dynamic); @@ -8602,11 +8598,10 @@ foreignToLocalController = A.StreamController_StreamController(_null, _null, true, t3); t4 = A._instanceType(foreignToLocalController); t5 = A._instanceType(localToForeignController); - t6 = A.GuaranteeChannel$(new A._ControllerStream(foreignToLocalController, t4._eval$1("_ControllerStream<1>")), new A._StreamSinkWrapper(localToForeignController, t5._eval$1("_StreamSinkWrapper<1>")), true, t3); - A._lateWriteOnceCheck($, "_local"); - t2.set$__StreamChannelController__local(t6); + t2.set$__StreamChannelController__local(A.GuaranteeChannel$(new A._ControllerStream(foreignToLocalController, t4._eval$1("_ControllerStream<1>")), new A._StreamSinkWrapper(localToForeignController, t5._eval$1("_StreamSinkWrapper<1>")), true, t3)); t3 = A.GuaranteeChannel$(new A._ControllerStream(localToForeignController, t5._eval$1("_ControllerStream<1>")), new A._StreamSinkWrapper(foreignToLocalController, t4._eval$1("_StreamSinkWrapper<1>")), false, t3); - A._lateWriteOnceCheck(t2.__StreamChannelController__foreign, "_foreign"); + if (t2.__StreamChannelController__foreign !== $) + A.throwLateFieldAI("_foreign"); t2.set$__StreamChannelController__foreign(t3); t2 = new A.HtmlWebSocketChannel(t1, t2); t2.HtmlWebSocketChannel$1(t1); @@ -9113,9 +9108,6 @@ _removeEventListener$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver)._removeEventListener$3(receiver, a0, a1, a2); }, - add$1$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).add$1(receiver, a0); - }, addEventListener$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).addEventListener$3(receiver, a0, a1, a2); }, @@ -9179,9 +9171,6 @@ remove$0$x(receiver) { return J.getInterceptor$x(receiver).remove$0(receiver); }, - remove$1$x(receiver, a0) { - return J.getInterceptor$x(receiver).remove$1(receiver, a0); - }, skip$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).skip$1(receiver, a0); }, @@ -9389,6 +9378,11 @@ for (i = 0; i < len; ++i) receiver.push(array[i]); }, + clear$0(receiver) { + if (!!receiver.fixed$length) + A.throwExpression(A.UnsupportedError$("clear")); + receiver.length = 0; + }, forEach$1(receiver, f) { var end, i; A._arrayInstanceType(receiver)._eval$1("~(1)")._as(f); @@ -9542,13 +9536,6 @@ get$length(receiver) { return receiver.length; }, - set$length(receiver, newLength) { - if (!!receiver.fixed$length) - A.throwExpression(A.UnsupportedError$("set length")); - if (newLength < 0) - throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null)); - receiver.length = newLength; - }, $index(receiver, index) { if (!A._isInt(index)) throw A.wrapException(A.diagnoseIndexError(receiver, index)); @@ -11231,6 +11218,15 @@ $isIterator: 1 }; A._Cell.prototype = { + readLocal$1$0() { + var t1 = this.__late_helper$_value; + if (t1 === this) + A.throwExpression(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized.")); + return t1; + }, + readLocal$0() { + return this.readLocal$1$0(type$.dynamic); + }, _readField$0() { var t1 = this.__late_helper$_value; if (t1 === this) @@ -14652,7 +14648,7 @@ return false; if (_this._splayCount !== t2._splayCount) { t3 = _this.$ti._eval$1("_SplayTreeIterator.K")._as(B.JSArray_methods.get$last(t1).key); - B.JSArray_methods.set$length(t1, 0); + B.JSArray_methods.clear$0(t1); t2._splay$1(t3); t3 = t2._root; t3.toString; @@ -14859,7 +14855,7 @@ if (t1 === 0) B.JSArray_methods.add$1(keys, ""); else - B.JSArray_methods.set$length(keys, 0); + B.JSArray_methods.clear$0(keys); _this._original = _this._processed = null; return _this._data = result; }, @@ -15803,6 +15799,7 @@ toString$0(_) { var minutes, minutesPadding, seconds, secondsPadding, microseconds = this._duration, + sign = microseconds < 0 ? "-" : "", hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000); microseconds %= 3600000000; if (microseconds < 0) @@ -15812,7 +15809,7 @@ minutesPadding = minutes < 10 ? "0" : ""; seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000); secondsPadding = seconds < 10 ? "0" : ""; - return "" + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0"); + return sign + Math.abs(hours) + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0"); }, $isComparable: 1 }; @@ -16228,7 +16225,8 @@ t2 = _this._fragment; if (t2 != null) t1 = t1 + "#" + t2; - A._lateInitializeOnceCheck(value, "_text"); + if (value !== $) + A.throwLateFieldADI("_text"); value = _this.___Uri__text = t1.charCodeAt(0) == 0 ? t1 : t1; } return value; @@ -16238,7 +16236,8 @@ value = _this.___Uri_hashCode; if (value === $) { result = B.JSString_methods.get$hashCode(_this.get$_text()); - A._lateInitializeOnceCheck(_this.___Uri_hashCode, "hashCode"); + if (_this.___Uri_hashCode !== $) + A.throwLateFieldADI("hashCode"); _this.___Uri_hashCode = result; value = result; } @@ -19339,7 +19338,9 @@ build$0() { var t1, t2, t3, _this = this; if (_this._listOwner == null) { - t1 = A._lateReadCheck(_this.__ListBuilder__list, "_list"); + t1 = _this.__ListBuilder__list; + if (t1 === $) + A.throwLateFieldNI("_list"); t2 = _this.$ti; t3 = t2._eval$1("_BuiltList<1>"); t3 = t3._as(new A._BuiltList(t1, t3)); @@ -19365,15 +19366,20 @@ } }, get$length(_) { - return J.get$length$asx(A._lateReadCheck(this.__ListBuilder__list, "_list")); + var t1 = this.__ListBuilder__list; + if (t1 === $) + A.throwLateFieldNI("_list"); + return t1.length; }, map$1(_, f) { var t2, t3, t4, t5, result, _this = this, t1 = _this.$ti; t1._eval$1("1(1)")._as(f); - t2 = A._lateReadCheck(_this.__ListBuilder__list, "_list"); + t2 = _this.__ListBuilder__list; + if (t2 === $) + A.throwLateFieldNI("_list"); t3 = t1._precomputed1; - t4 = A.instanceType(t2); + t4 = A._arrayInstanceType(t2); t5 = t4._eval$1("@<1>")._bind$1(t3)._eval$1("MappedListIterable<1,2>"); result = A.List_List$of(new A.MappedListIterable(t2, t4._bind$1(t3)._eval$1("1(2)")._as(f), t5), true, t5._eval$1("ListIterable.E")); _this._list$_maybeCheckElements$1(result); @@ -19493,11 +19499,20 @@ _s11_ = "_builderMap", _s9_ = "_builtMap"; if (_this._list_multimap$_builtMapOwner == null) { - for (t1 = A._lateReadCheck(_this.__ListMultimapBuilder__builderMap, _s11_), t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A.instanceType(t1)._precomputed1); t1.moveNext$0();) { + t1 = _this.__ListMultimapBuilder__builderMap; + if (t1 === $) + A.throwLateFieldNI(_s11_); + t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1); + for (; t1.moveNext$0();) { key = t1.__js_helper$_current; - t2 = J.$index$asx(A._lateReadCheck(_this.__ListMultimapBuilder__builderMap, _s11_), key); + t2 = _this.__ListMultimapBuilder__builderMap; + if (t2 === $) + A.throwLateFieldNI(_s11_); + t2 = t2.$index(0, key); if (t2._listOwner == null) { - t3 = A._lateReadCheck(t2.__ListBuilder__list, "_list"); + t3 = t2.__ListBuilder__list; + if (t3 === $) + A.throwLateFieldNI("_list"); t4 = A._instanceType(t2); t5 = t4._eval$1("_BuiltList<1>"); t5 = t5._as(new A._BuiltList(t3, t5)); @@ -19507,14 +19522,22 @@ builtList = t2._listOwner; t2 = builtList._list.length; t3 = _this.__ListMultimapBuilder__builtMap; - if (t2 === 0) - J.remove$1$x(A._lateReadCheck(t3, _s9_), key); - else - J.$indexSet$ax(A._lateReadCheck(t3, _s9_), key, builtList); + if (t2 === 0) { + if (t3 === $) + A.throwLateFieldNI(_s9_); + t3.remove$1(0, key); + } else { + if (t3 === $) + A.throwLateFieldNI(_s9_); + t3.$indexSet(0, key, builtList); + } } - t1 = _this.$ti; - t2 = t1._rest[1]; - _this.set$_list_multimap$_builtMapOwner(new A._BuiltListMultimap(A._lateReadCheck(_this.__ListMultimapBuilder__builtMap, _s9_), A.BuiltList_BuiltList$from(B.List_empty0, t2), t1._eval$1("@<1>")._bind$1(t2)._eval$1("_BuiltListMultimap<1,2>"))); + t1 = _this.__ListMultimapBuilder__builtMap; + if (t1 === $) + A.throwLateFieldNI(_s9_); + t2 = _this.$ti; + t3 = t2._rest[1]; + _this.set$_list_multimap$_builtMapOwner(new A._BuiltListMultimap(t1, A.BuiltList_BuiltList$from(B.List_empty0, t3), t2._eval$1("@<1>")._bind$1(t3)._eval$1("_BuiltListMultimap<1,2>"))); } t1 = _this._list_multimap$_builtMapOwner; t1.toString; @@ -19524,20 +19547,29 @@ this._list_multimap$_setWithCopyAndCheck$2(multimap.get$keys(multimap), new A.ListMultimapBuilder_replace_closure(multimap)); }, _list_multimap$_getValuesBuilder$1(key) { - var result, builtValues, _this = this, + var t2, result, builtValues, _this = this, _s11_ = "_builderMap", t1 = _this.$ti; t1._precomputed1._as(key); - result = J.$index$asx(A._lateReadCheck(_this.__ListMultimapBuilder__builderMap, _s11_), key); + t2 = _this.__ListMultimapBuilder__builderMap; + if (t2 === $) + A.throwLateFieldNI(_s11_); + result = t2.$index(0, key); if (result == null) { - builtValues = J.$index$asx(A._lateReadCheck(_this.__ListMultimapBuilder__builtMap, "_builtMap"), key); + t2 = _this.__ListMultimapBuilder__builtMap; + if (t2 === $) + A.throwLateFieldNI("_builtMap"); + builtValues = t2.$index(0, key); result = builtValues == null ? A.ListBuilder_ListBuilder(B.List_empty0, t1._rest[1]) : A.ListBuilder_ListBuilder(builtValues, builtValues.$ti._precomputed1); - J.$indexSet$ax(A._lateReadCheck(_this.__ListMultimapBuilder__builderMap, _s11_), key, result); + t1 = _this.__ListMultimapBuilder__builderMap; + if (t1 === $) + A.throwLateFieldNI(_s11_); + t1.$indexSet(0, key, result); } return result; }, _list_multimap$_setWithCopyAndCheck$2(keys, lookup) { - var t1, t2, t3, t4, t5, t6, key, t7, value, t8, t9, t10, _this = this, _null = null; + var t1, t2, t3, t4, t5, t6, key, t7, value, t8, t9, t10, t11, _this = this, _null = null; _this.set$_list_multimap$_builtMapOwner(_null); t1 = _this.$ti; t2 = t1._precomputed1; @@ -19554,7 +19586,10 @@ t2._as(key); t1._as(value); if (_this._list_multimap$_builtMapOwner != null) { - _this.set$__ListMultimapBuilder__builtMap(t4._as(A.LinkedHashMap_LinkedHashMap$from(A._lateReadCheck(_this.__ListMultimapBuilder__builtMap, "_builtMap"), t2, t3))); + t8 = _this.__ListMultimapBuilder__builtMap; + if (t8 === $) + A.throwLateFieldNI("_builtMap"); + _this.set$__ListMultimapBuilder__builtMap(t4._as(A.LinkedHashMap_LinkedHashMap$from(t8, t2, t3))); _this.set$_list_multimap$_builtMapOwner(_null); } _this._list_multimap$_checkKey$1(key); @@ -19567,10 +19602,16 @@ if (value == null) A.throwExpression(A.ArgumentError$("null element", _null)); if (t8._listOwner != null) { - t8.set$__ListBuilder__list(t9._eval$1("List<1>")._as(A.List_List$from(A._lateReadCheck(t8.__ListBuilder__list, "_list"), true, t10))); + t11 = t8.__ListBuilder__list; + if (t11 === $) + A.throwLateFieldNI("_list"); + t8.set$__ListBuilder__list(t9._eval$1("List<1>")._as(A.List_List$from(t11, true, t10))); t8.set$_listOwner(_null); } - J.add$1$ax(A._lateReadCheck(t8.__ListBuilder__list, "_list"), value); + t8 = t8.__ListBuilder__list; + if (t8 === $) + A.throwLateFieldNI("_list"); + B.JSArray_methods.add$1(t8, value); } else throw A.wrapException(A.ArgumentError$("map contained invalid value: " + A.S(value) + ", for key " + A.S(key), _null)); } @@ -19717,10 +19758,13 @@ }; A.MapBuilder.prototype = { build$0() { - var t1, _this = this; + var t1, t2, _this = this; if (_this._mapOwner == null) { - t1 = _this.$ti; - _this.set$_mapOwner(new A._BuiltMap(_this._mapFactory, A._lateReadCheck(_this.__MapBuilder__map, "_map"), t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("_BuiltMap<1,2>"))); + t1 = _this.__MapBuilder__map; + if (t1 === $) + A.throwLateFieldNI("_map"); + t2 = _this.$ti; + _this.set$_mapOwner(new A._BuiltMap(_this._mapFactory, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("_BuiltMap<1,2>"))); } t1 = _this._mapOwner; t1.toString; @@ -19735,7 +19779,7 @@ _this.set$__MapBuilder__map(replacement); }, $indexSet(_, key, value) { - var t2, _this = this, + var t2, t3, _this = this, t1 = _this.$ti; t1._precomputed1._as(key); t1._rest[1]._as(value); @@ -19743,24 +19787,39 @@ _this._checkValue$1(value); if (_this._mapOwner != null) { t2 = _this._createMap$0(); - t2.addAll$1(0, A._lateReadCheck(_this.__MapBuilder__map, "_map")); + t3 = _this.__MapBuilder__map; + if (t3 === $) + A.throwLateFieldNI("_map"); + t2.addAll$1(0, t3); _this.set$__MapBuilder__map(t1._eval$1("Map<1,2>")._as(t2)); _this.set$_mapOwner(null); } - J.$indexSet$ax(A._lateReadCheck(_this.__MapBuilder__map, "_map"), key, value); + t1 = _this.__MapBuilder__map; + if (t1 === $) + A.throwLateFieldNI("_map"); + t1.$indexSet(0, key, value); }, get$length(_) { - return A._lateReadCheck(this.__MapBuilder__map, "_map")._length; + var t1 = this.__MapBuilder__map; + if (t1 === $) + A.throwLateFieldNI("_map"); + return t1._length; }, get$_safeMap() { - var t1, _this = this; + var t1, t2, _this = this; if (_this._mapOwner != null) { t1 = _this._createMap$0(); - t1.addAll$1(0, A._lateReadCheck(_this.__MapBuilder__map, "_map")); + t2 = _this.__MapBuilder__map; + if (t2 === $) + A.throwLateFieldNI("_map"); + t1.addAll$1(0, t2); _this.set$__MapBuilder__map(_this.$ti._eval$1("Map<1,2>")._as(t1)); _this.set$_mapOwner(null); } - return A._lateReadCheck(_this.__MapBuilder__map, "_map"); + t1 = _this.__MapBuilder__map; + if (t1 === $) + A.throwLateFieldNI("_map"); + return t1; }, _createMap$0() { var t1 = this.$ti; @@ -19900,8 +19959,12 @@ A.SetBuilder.prototype = { build$0() { var t1, _this = this; - if (_this._setOwner == null) - _this.set$_setOwner(new A._BuiltSet(_this._setFactory, A._lateReadCheck(_this.__SetBuilder__set, "_set"), _this.$ti._eval$1("_BuiltSet<1>"))); + if (_this._setOwner == null) { + t1 = _this.__SetBuilder__set; + if (t1 === $) + A.throwLateFieldNI("_set"); + _this.set$_setOwner(new A._BuiltSet(_this._setFactory, t1, _this.$ti._eval$1("_BuiltSet<1>"))); + } t1 = _this._setOwner; t1.toString; return t1; @@ -19921,14 +19984,19 @@ _this.set$__SetBuilder__set(set); }, get$length(_) { - return A._lateReadCheck(this.__SetBuilder__set, "_set")._collection$_length; + var t1 = this.__SetBuilder__set; + if (t1 === $) + A.throwLateFieldNI("_set"); + return t1._collection$_length; }, map$1(_, f) { var result, t2, t3, t4, _this = this, t1 = _this.$ti; t1._eval$1("1(1)")._as(f); result = _this._createSet$0(); - t2 = A._lateReadCheck(_this.__SetBuilder__set, "_set"); + t2 = _this.__SetBuilder__set; + if (t2 === $) + A.throwLateFieldNI("_set"); t3 = t1._precomputed1; t4 = A._instanceType(t2); result.addAll$1(0, new A.EfficientLengthMappedIterable(t2, t4._bind$1(t3)._eval$1("1(2)")._as(f), t4._eval$1("@<1>")._bind$1(t3)._eval$1("EfficientLengthMappedIterable<1,2>"))); @@ -19938,14 +20006,20 @@ _this.set$__SetBuilder__set(result); }, get$_safeSet() { - var t1, _this = this; + var t1, t2, _this = this; if (_this._setOwner != null) { t1 = _this._createSet$0(); - t1.addAll$1(0, A._lateReadCheck(_this.__SetBuilder__set, "_set")); + t2 = _this.__SetBuilder__set; + if (t2 === $) + A.throwLateFieldNI("_set"); + t1.addAll$1(0, t2); _this.set$__SetBuilder__set(_this.$ti._eval$1("Set<1>")._as(t1)); _this.set$_setOwner(null); } - return A._lateReadCheck(_this.__SetBuilder__set, "_set"); + t1 = _this.__SetBuilder__set; + if (t1 === $) + A.throwLateFieldNI("_set"); + return t1; }, _createSet$0() { return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1); @@ -20042,26 +20116,46 @@ A._BuiltSetMultimap.prototype = {}; A.SetMultimapBuilder.prototype = { build$0() { - var t1, key, t2, builtSet, t3, _this = this, + var t1, key, t2, t3, t4, builtSet, _this = this, _s11_ = "_builderMap", _s9_ = "_builtMap"; if (_this._builtMapOwner == null) { - for (t1 = A._lateReadCheck(_this.__SetMultimapBuilder__builderMap, _s11_), t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A.instanceType(t1)._precomputed1); t1.moveNext$0();) { + t1 = _this.__SetMultimapBuilder__builderMap; + if (t1 === $) + A.throwLateFieldNI(_s11_); + t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1); + for (; t1.moveNext$0();) { key = t1.__js_helper$_current; - t2 = J.$index$asx(A._lateReadCheck(_this.__SetMultimapBuilder__builderMap, _s11_), key); - if (t2._setOwner == null) - t2.set$_setOwner(new A._BuiltSet(t2._setFactory, A._lateReadCheck(t2.__SetBuilder__set, "_set"), A._instanceType(t2)._eval$1("_BuiltSet<1>"))); + t2 = _this.__SetMultimapBuilder__builderMap; + if (t2 === $) + A.throwLateFieldNI(_s11_); + t2 = t2.$index(0, key); + if (t2._setOwner == null) { + t3 = t2._setFactory; + t4 = t2.__SetBuilder__set; + if (t4 === $) + A.throwLateFieldNI("_set"); + t2.set$_setOwner(new A._BuiltSet(t3, t4, A._instanceType(t2)._eval$1("_BuiltSet<1>"))); + } builtSet = t2._setOwner; t2 = builtSet._set$_set._collection$_length; t3 = _this.__SetMultimapBuilder__builtMap; - if (t2 === 0) - J.remove$1$x(A._lateReadCheck(t3, _s9_), key); - else - J.$indexSet$ax(A._lateReadCheck(t3, _s9_), key, builtSet); + if (t2 === 0) { + if (t3 === $) + A.throwLateFieldNI(_s9_); + t3.remove$1(0, key); + } else { + if (t3 === $) + A.throwLateFieldNI(_s9_); + t3.$indexSet(0, key, builtSet); + } } - t1 = _this.$ti; - t2 = t1._rest[1]; - _this.set$_builtMapOwner(new A._BuiltSetMultimap(A._lateReadCheck(_this.__SetMultimapBuilder__builtMap, _s9_), A.BuiltSet_BuiltSet$from(B.List_empty0, t2), t1._eval$1("@<1>")._bind$1(t2)._eval$1("_BuiltSetMultimap<1,2>"))); + t1 = _this.__SetMultimapBuilder__builtMap; + if (t1 === $) + A.throwLateFieldNI(_s9_); + t2 = _this.$ti; + t3 = t2._rest[1]; + _this.set$_builtMapOwner(new A._BuiltSetMultimap(t1, A.BuiltSet_BuiltSet$from(B.List_empty0, t3), t2._eval$1("@<1>")._bind$1(t3)._eval$1("_BuiltSetMultimap<1,2>"))); } t1 = _this._builtMapOwner; t1.toString; @@ -20071,13 +20165,19 @@ this._setWithCopyAndCheck$2(multimap.get$keys(multimap), new A.SetMultimapBuilder_replace_closure(multimap)); }, _getValuesBuilder$1(key) { - var result, builtValues, _this = this, + var t2, result, builtValues, _this = this, _s11_ = "_builderMap", t1 = _this.$ti; t1._precomputed1._as(key); - result = J.$index$asx(A._lateReadCheck(_this.__SetMultimapBuilder__builderMap, _s11_), key); + t2 = _this.__SetMultimapBuilder__builderMap; + if (t2 === $) + A.throwLateFieldNI(_s11_); + result = t2.$index(0, key); if (result == null) { - builtValues = J.$index$asx(A._lateReadCheck(_this.__SetMultimapBuilder__builtMap, "_builtMap"), key); + t2 = _this.__SetMultimapBuilder__builtMap; + if (t2 === $) + A.throwLateFieldNI("_builtMap"); + builtValues = t2.$index(0, key); if (builtValues == null) result = A.SetBuilder_SetBuilder(t1._rest[1]); else { @@ -20085,7 +20185,10 @@ t1._eval$1("_BuiltSet<1>")._as(builtValues); result = new A.SetBuilder(builtValues._setFactory, builtValues._set$_set, builtValues, t1._eval$1("SetBuilder<1>")); } - J.$indexSet$ax(A._lateReadCheck(_this.__SetMultimapBuilder__builderMap, _s11_), key, result); + t1 = _this.__SetMultimapBuilder__builderMap; + if (t1 === $) + A.throwLateFieldNI(_s11_); + t1.$indexSet(0, key, result); } return result; }, @@ -20107,7 +20210,10 @@ t2._as(key); t1._as(value); if (_this._builtMapOwner != null) { - _this.set$__SetMultimapBuilder__builtMap(t4._as(A.LinkedHashMap_LinkedHashMap$from(A._lateReadCheck(_this.__SetMultimapBuilder__builtMap, "_builtMap"), t2, t3))); + t8 = _this.__SetMultimapBuilder__builtMap; + if (t8 === $) + A.throwLateFieldNI("_builtMap"); + _this.set$__SetMultimapBuilder__builtMap(t4._as(A.LinkedHashMap_LinkedHashMap$from(t8, t2, t3))); _this.set$_builtMapOwner(_null); } _this._set_multimap$_checkKey$1(key); @@ -20672,7 +20778,7 @@ return this.serialize$3$specifiedType(serializers, builtListMultimap, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var isUnderspecified, t2, t3, t4, keyType, valueType, result, i, key, values, value, t5, t6, t7, _null = null, + var isUnderspecified, t2, t3, t4, keyType, valueType, result, i, key, values, value, t5, t6, t7, t8, _null = null, t1 = type$.Iterable_nullable_Object; t1._as(serialized); isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; @@ -20712,7 +20818,10 @@ t6._as(key); t5._rest[1]._as(value); if (result._list_multimap$_builtMapOwner != null) { - result.set$__ListMultimapBuilder__builtMap(t5._eval$1("Map<1,BuiltList<2>>")._as(A.LinkedHashMap_LinkedHashMap$from(A._lateReadCheck(result.__ListMultimapBuilder__builtMap, "_builtMap"), t6, t5._eval$1("BuiltList<2>")))); + t7 = result.__ListMultimapBuilder__builtMap; + if (t7 === $) + A.throwLateFieldNI("_builtMap"); + result.set$__ListMultimapBuilder__builtMap(t5._eval$1("Map<1,BuiltList<2>>")._as(A.LinkedHashMap_LinkedHashMap$from(t7, t6, t5._eval$1("BuiltList<2>")))); result.set$_list_multimap$_builtMapOwner(_null); } result._list_multimap$_checkKey$1(key); @@ -20725,10 +20834,16 @@ if (value == null) A.throwExpression(A.ArgumentError$("null element", _null)); if (t5._listOwner != null) { - t5.set$__ListBuilder__list(t6._eval$1("List<1>")._as(A.List_List$from(A._lateReadCheck(t5.__ListBuilder__list, "_list"), true, t7))); + t8 = t5.__ListBuilder__list; + if (t8 === $) + A.throwLateFieldNI("_list"); + t5.set$__ListBuilder__list(t6._eval$1("List<1>")._as(A.List_List$from(t8, true, t7))); t5.set$_listOwner(_null); } - J.add$1$ax(A._lateReadCheck(t5.__ListBuilder__list, "_list"), value); + t5 = t5.__ListBuilder__list; + if (t5 === $) + A.throwLateFieldNI("_list"); + B.JSArray_methods.add$1(t5, value); } } return result.build$0(); @@ -20949,7 +21064,7 @@ return this.serialize$3$specifiedType(serializers, builtSetMultimap, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var isUnderspecified, t2, t3, t4, keyType, valueType, result, i, key, value, t5, + var isUnderspecified, t2, t3, t4, keyType, valueType, result, i, key, value, t5, t6, t1 = type$.Iterable_dynamic; t1._as(serialized); isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; @@ -20988,7 +21103,10 @@ t5._as(key); t4._rest[1]._as(value); if (result._builtMapOwner != null) { - result.set$__SetMultimapBuilder__builtMap(t4._eval$1("Map<1,BuiltSet<2>>")._as(A.LinkedHashMap_LinkedHashMap$from(A._lateReadCheck(result.__SetMultimapBuilder__builtMap, "_builtMap"), t5, t4._eval$1("BuiltSet<2>")))); + t6 = result.__SetMultimapBuilder__builtMap; + if (t6 === $) + A.throwLateFieldNI("_builtMap"); + result.set$__SetMultimapBuilder__builtMap(t4._eval$1("Map<1,BuiltSet<2>>")._as(A.LinkedHashMap_LinkedHashMap$from(t6, t5, t4._eval$1("BuiltSet<2>")))); result.set$_builtMapOwner(null); } result._set_multimap$_checkKey$1(key); @@ -21685,7 +21803,7 @@ A.BuildResult.prototype = {}; A._$BuildStatusSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return type$.legacy_BuildStatus._as(object).name; + return type$.BuildStatus._as(object).name; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -21707,22 +21825,26 @@ }; A._$BuildResultSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return A._setArrayType(["status", serializers.serialize$2$specifiedType(type$.legacy_BuildResult._as(object).status, B.FullType_FuN)], type$.JSArray_legacy_Object); + return ["status", serializers.serialize$2$specifiedType(type$.BuildResult._as(object).status, B.FullType_FuN)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var t1, key, value, t2, $$v, _$result, + var t1, t2, value, $$v, _$result, result = new A.BuildResultBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuildStatus; iterator.moveNext$0();) { - key = A._asStringS(iterator.get$current(iterator)); + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuildStatus; iterator.moveNext$0();) { + t2 = iterator.get$current(iterator); + t2.toString; + A._asStringS(t2); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { + switch (t2) { case "status": - t2 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_FuN)); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_FuN); + t2.toString; + t1._as(t2); $$v = result._build_result$_$v; if ($$v != null) { result._status = $$v.status; @@ -21739,7 +21861,7 @@ A.throwExpression(A.BuiltValueNullFieldError$("BuildResult", "status")); _$result = new A._$BuildResult(t1); } - A.ArgumentError_checkNotNull(_$result, "other", type$.legacy_BuildResult); + A.ArgumentError_checkNotNull(_$result, "other", type$.BuildResult); return result._build_result$_$v = _$result; }, deserialize$2(serializers, serialized) { @@ -21786,31 +21908,39 @@ A.ConnectRequest.prototype = {}; A._$ConnectRequestSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - type$.legacy_ConnectRequest._as(object); - return A._setArrayType(["appId", serializers.serialize$2$specifiedType(object.appId, B.FullType_h8g), "instanceId", serializers.serialize$2$specifiedType(object.instanceId, B.FullType_h8g), "entrypointPath", serializers.serialize$2$specifiedType(object.entrypointPath, B.FullType_h8g)], type$.JSArray_legacy_Object); + type$.ConnectRequest._as(object); + return ["appId", serializers.serialize$2$specifiedType(object.appId, B.FullType_h8g), "instanceId", serializers.serialize$2$specifiedType(object.instanceId, B.FullType_h8g), "entrypointPath", serializers.serialize$2$specifiedType(object.entrypointPath, B.FullType_h8g)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var key, value, t1, + var t1, value, result = new A.ConnectRequestBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = A._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { + switch (t1) { case "appId": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); result.get$_$this()._appId = t1; break; case "instanceId": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); result.get$_$this()._instanceId = t1; break; case "entrypointPath": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); result.get$_$this()._entrypointPath = t1; break; } @@ -21878,7 +22008,7 @@ A.throwExpression(A.BuiltValueNullFieldError$(_s14_, "entrypointPath")); _$result = new A._$ConnectRequest(t1, t2, t3); } - A.ArgumentError_checkNotNull(_$result, "other", type$.legacy_ConnectRequest); + A.ArgumentError_checkNotNull(_$result, "other", type$.ConnectRequest); return _this._$v = _$result; } }; @@ -21886,31 +22016,39 @@ A.BatchedDebugEvents.prototype = {}; A._$DebugEventSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - type$.legacy_DebugEvent._as(object); - return A._setArrayType(["kind", serializers.serialize$2$specifiedType(object.kind, B.FullType_h8g), "eventData", serializers.serialize$2$specifiedType(object.eventData, B.FullType_h8g), "timestamp", serializers.serialize$2$specifiedType(object.timestamp, B.FullType_kjq)], type$.JSArray_legacy_Object); + type$.DebugEvent._as(object); + return ["kind", serializers.serialize$2$specifiedType(object.kind, B.FullType_h8g), "eventData", serializers.serialize$2$specifiedType(object.eventData, B.FullType_h8g), "timestamp", serializers.serialize$2$specifiedType(object.timestamp, B.FullType_kjq)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var key, value, t1, + var t1, value, result = new A.DebugEventBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = A._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { + switch (t1) { case "kind": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); result.get$_debug_event$_$this()._debug_event$_kind = t1; break; case "eventData": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); result.get$_debug_event$_$this()._eventData = t1; break; case "timestamp": - t1 = A._asIntS(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); result.get$_debug_event$_$this()._timestamp = t1; break; } @@ -21931,20 +22069,22 @@ }; A._$BatchedDebugEventsSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return A._setArrayType(["events", serializers.serialize$2$specifiedType(type$.legacy_BatchedDebugEvents._as(object).events, B.FullType_Igx)], type$.JSArray_legacy_Object); + return ["events", serializers.serialize$2$specifiedType(type$.BatchedDebugEvents._as(object).events, B.FullType_Igx)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, $$v, t5, t6, t7, t8, t9, + var t1, t2, t3, t4, t5, value, $$v, t6, t7, t8, t9, result = new A.BatchedDebugEventsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_DebugEvent, t3 = type$.List_legacy_DebugEvent, t4 = type$.ListBuilder_legacy_DebugEvent; iterator.moveNext$0();) { - key = A._asStringS(iterator.get$current(iterator)); + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.DebugEvent, t3 = type$.List_DebugEvent, t4 = type$.ListBuilder_DebugEvent; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { + switch (t5) { case "events": $$v = result._debug_event$_$v; if ($$v != null) { @@ -21972,7 +22112,9 @@ t5.set$_listOwner(null); result.set$_events(t5); } - t6 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_Igx)); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_Igx); + t6.toString; + t1._as(t6); t7 = t5.$ti; t8 = t7._eval$1("_BuiltList<1>"); t9 = t7._eval$1("List<1>"); @@ -22050,7 +22192,7 @@ A.throwExpression(A.BuiltValueNullFieldError$(_s10_, "timestamp")); _$result = new A._$DebugEvent(t1, t2, t3); } - A.ArgumentError_checkNotNull(_$result, "other", type$.legacy_DebugEvent); + A.ArgumentError_checkNotNull(_$result, "other", type$.DebugEvent); return _this._debug_event$_$v = _$result; } }; @@ -22077,7 +22219,7 @@ var t1 = this.get$_debug_event$_$this(), t2 = t1._events; if (t2 == null) { - t2 = A.ListBuilder_ListBuilder(B.List_empty0, type$.legacy_DebugEvent); + t2 = A.ListBuilder_ListBuilder(B.List_empty0, type$.DebugEvent); t1.set$_events(t2); t1 = t2; } else @@ -22109,25 +22251,25 @@ } _$result = _$result0; } catch (exception) { - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "events"; + _$failedField.__late_helper$_value = "events"; _this.get$events().build$0(); } catch (exception) { e = A.unwrapException(exception); - t1 = A.BuiltValueNestedFieldError$(_s18_, _$failedField, J.toString$0$(e)); + t1 = A.BuiltValueNestedFieldError$(_s18_, _$failedField.readLocal$0(), J.toString$0$(e)); throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_BatchedDebugEvents; + t1 = type$.BatchedDebugEvents; t2 = t1._as(_$result); A.ArgumentError_checkNotNull(t2, "other", t1); _this._debug_event$_$v = t2; return _$result; }, set$_events(_events) { - this._events = type$.legacy_ListBuilder_legacy_DebugEvent._as(_events); + this._events = type$.nullable_ListBuilder_DebugEvent._as(_events); } }; A.DevToolsRequest.prototype = {}; @@ -22135,22 +22277,22 @@ A._$DevToolsRequestSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; - type$.legacy_DevToolsRequest._as(object); - result = A._setArrayType(["appId", serializers.serialize$2$specifiedType(object.appId, B.FullType_h8g), "instanceId", serializers.serialize$2$specifiedType(object.instanceId, B.FullType_h8g)], type$.JSArray_legacy_Object); + type$.DevToolsRequest._as(object); + result = ["appId", serializers.serialize$2$specifiedType(object.appId, B.FullType_h8g), "instanceId", serializers.serialize$2$specifiedType(object.instanceId, B.FullType_h8g)]; value = object.contextId; if (value != null) { - B.JSArray_methods.add$1(result, "contextId"); - B.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, B.FullType_kjq)); + result.push("contextId"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); } value = object.tabUrl; if (value != null) { - B.JSArray_methods.add$1(result, "tabUrl"); - B.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push("tabUrl"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } value = object.uriOnly; if (value != null) { - B.JSArray_methods.add$1(result, "uriOnly"); - B.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, B.FullType_MtR)); + result.push("uriOnly"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_MtR)); } return result; }, @@ -22158,32 +22300,38 @@ return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var key, value, t1, + var t1, value, result = new A.DevToolsRequestBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = A._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { + switch (t1) { case "appId": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); result.get$_devtools_request$_$this()._devtools_request$_appId = t1; break; case "instanceId": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); result.get$_devtools_request$_$this()._devtools_request$_instanceId = t1; break; case "contextId": - t1 = A._asIntS(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + t1 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); result.get$_devtools_request$_$this()._contextId = t1; break; case "tabUrl": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_devtools_request$_$this()._tabUrl = t1; break; case "uriOnly": - t1 = A._asBoolS(serializers.deserialize$2$specifiedType(value, B.FullType_MtR)); + t1 = A._asBoolQ(serializers.deserialize$2$specifiedType(value, B.FullType_MtR)); result.get$_devtools_request$_$this()._uriOnly = t1; break; } @@ -22205,12 +22353,12 @@ A._$DevToolsResponseSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; - type$.legacy_DevToolsResponse._as(object); - result = A._setArrayType(["success", serializers.serialize$2$specifiedType(object.success, B.FullType_MtR), "promptExtension", serializers.serialize$2$specifiedType(object.promptExtension, B.FullType_MtR)], type$.JSArray_legacy_Object); + type$.DevToolsResponse._as(object); + result = ["success", serializers.serialize$2$specifiedType(object.success, B.FullType_MtR), "promptExtension", serializers.serialize$2$specifiedType(object.promptExtension, B.FullType_MtR)]; value = object.error; if (value != null) { - B.JSArray_methods.add$1(result, "error"); - B.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push("error"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } return result; }, @@ -22218,25 +22366,31 @@ return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var key, value, t1, _$result, t2, + var t1, value, _$result, t2, _s16_ = "DevToolsResponse", result = new A.DevToolsResponseBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = A._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { + switch (t1) { case "success": - t1 = A._asBoolS(serializers.deserialize$2$specifiedType(value, B.FullType_MtR)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); result.get$_devtools_request$_$this()._success = t1; break; case "promptExtension": - t1 = A._asBoolS(serializers.deserialize$2$specifiedType(value, B.FullType_MtR)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); result.get$_devtools_request$_$this()._promptExtension = t1; break; case "error": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_devtools_request$_$this()._error = t1; break; } @@ -22251,7 +22405,7 @@ A.throwExpression(A.BuiltValueNullFieldError$(_s16_, "promptExtension")); _$result = new A._$DevToolsResponse(t1, t2, result.get$_devtools_request$_$this()._error); } - A.ArgumentError_checkNotNull(_$result, "other", type$.legacy_DevToolsResponse); + A.ArgumentError_checkNotNull(_$result, "other", type$.DevToolsResponse); return result._devtools_request$_$v = _$result; }, deserialize$2(serializers, serialized) { @@ -22318,7 +22472,7 @@ A.throwExpression(A.BuiltValueNullFieldError$(_s15_, "instanceId")); _$result = new A._$DevToolsRequest(t1, t2, _this.get$_devtools_request$_$this()._contextId, _this.get$_devtools_request$_$this()._tabUrl, _this.get$_devtools_request$_$this()._uriOnly); } - A.ArgumentError_checkNotNull(_$result, "other", type$.legacy_DevToolsRequest); + A.ArgumentError_checkNotNull(_$result, "other", type$.DevToolsRequest); return _this._devtools_request$_$v = _$result; } }; @@ -22359,24 +22513,28 @@ A.ErrorResponse.prototype = {}; A._$ErrorResponseSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - type$.legacy_ErrorResponse._as(object); - return A._setArrayType(["error", serializers.serialize$2$specifiedType(object.error, B.FullType_h8g), "stackTrace", serializers.serialize$2$specifiedType(object.stackTrace, B.FullType_h8g)], type$.JSArray_legacy_Object); + type$.ErrorResponse._as(object); + return ["error", serializers.serialize$2$specifiedType(object.error, B.FullType_h8g), "stackTrace", serializers.serialize$2$specifiedType(object.stackTrace, B.FullType_h8g)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, t2, + var t1, value, $$v, _$result, t2, _s13_ = "ErrorResponse", result = new A.ErrorResponseBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = A._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { + switch (t1) { case "error": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); $$v = result._error_response$_$v; if ($$v != null) { result._error_response$_error = $$v.error; @@ -22386,7 +22544,9 @@ result._error_response$_error = t1; break; case "stackTrace": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); $$v = result._error_response$_$v; if ($$v != null) { result._error_response$_error = $$v.error; @@ -22407,7 +22567,7 @@ A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "stackTrace")); _$result = new A._$ErrorResponse(t1, t2); } - A.ArgumentError_checkNotNull(_$result, "other", type$.legacy_ErrorResponse); + A.ArgumentError_checkNotNull(_$result, "other", type$.ErrorResponse); return result._error_response$_$v = _$result; }, deserialize$2(serializers, serialized) { @@ -22460,12 +22620,12 @@ A._$ExtensionRequestSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; - type$.legacy_ExtensionRequest._as(object); - result = A._setArrayType(["id", serializers.serialize$2$specifiedType(object.id, B.FullType_kjq), "command", serializers.serialize$2$specifiedType(object.command, B.FullType_h8g)], type$.JSArray_legacy_Object); + type$.ExtensionRequest._as(object); + result = ["id", serializers.serialize$2$specifiedType(object.id, B.FullType_kjq), "command", serializers.serialize$2$specifiedType(object.command, B.FullType_h8g)]; value = object.commandParams; if (value != null) { - B.JSArray_methods.add$1(result, "commandParams"); - B.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push("commandParams"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } return result; }, @@ -22473,25 +22633,31 @@ return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var key, value, t1, _$result, t2, + var t1, value, _$result, t2, _s16_ = "ExtensionRequest", result = new A.ExtensionRequestBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = A._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { + switch (t1) { case "id": - t1 = A._asIntS(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); result.get$_extension_request$_$this()._id = t1; break; case "command": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); result.get$_extension_request$_$this()._command = t1; break; case "commandParams": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_extension_request$_$this()._commandParams = t1; break; } @@ -22506,7 +22672,7 @@ A.throwExpression(A.BuiltValueNullFieldError$(_s16_, "command")); _$result = new A._$ExtensionRequest(t1, t2, result.get$_extension_request$_$this()._commandParams); } - A.ArgumentError_checkNotNull(_$result, "other", type$.legacy_ExtensionRequest); + A.ArgumentError_checkNotNull(_$result, "other", type$.ExtensionRequest); return result._extension_request$_$v = _$result; }, deserialize$2(serializers, serialized) { @@ -22524,12 +22690,12 @@ A._$ExtensionResponseSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; - type$.legacy_ExtensionResponse._as(object); - result = A._setArrayType(["id", serializers.serialize$2$specifiedType(object.id, B.FullType_kjq), "success", serializers.serialize$2$specifiedType(object.success, B.FullType_MtR), "result", serializers.serialize$2$specifiedType(object.result, B.FullType_h8g)], type$.JSArray_legacy_Object); + type$.ExtensionResponse._as(object); + result = ["id", serializers.serialize$2$specifiedType(object.id, B.FullType_kjq), "success", serializers.serialize$2$specifiedType(object.success, B.FullType_MtR), "result", serializers.serialize$2$specifiedType(object.result, B.FullType_h8g)]; value = object.error; if (value != null) { - B.JSArray_methods.add$1(result, "error"); - B.JSArray_methods.add$1(result, serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push("error"); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); } return result; }, @@ -22537,29 +22703,37 @@ return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var key, value, t1, _$result, t2, t3, + var t1, value, _$result, t2, t3, _s17_ = "ExtensionResponse", result = new A.ExtensionResponseBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = A._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { + switch (t1) { case "id": - t1 = A._asIntS(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); result.get$_extension_request$_$this()._id = t1; break; case "success": - t1 = A._asBoolS(serializers.deserialize$2$specifiedType(value, B.FullType_MtR)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1.toString; + A._asBoolS(t1); result.get$_extension_request$_$this()._extension_request$_success = t1; break; case "result": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); result.get$_extension_request$_$this()._extension_request$_result = t1; break; case "error": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); result.get$_extension_request$_$this()._extension_request$_error = t1; break; } @@ -22577,7 +22751,7 @@ A.throwExpression(A.BuiltValueNullFieldError$(_s17_, "result")); _$result = new A._$ExtensionResponse(t1, t2, t3, result.get$_extension_request$_$this()._extension_request$_error); } - A.ArgumentError_checkNotNull(_$result, "other", type$.legacy_ExtensionResponse); + A.ArgumentError_checkNotNull(_$result, "other", type$.ExtensionResponse); return result._extension_request$_$v = _$result; }, deserialize$2(serializers, serialized) { @@ -22594,24 +22768,28 @@ }; A._$ExtensionEventSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - type$.legacy_ExtensionEvent._as(object); - return A._setArrayType(["params", serializers.serialize$2$specifiedType(object.params, B.FullType_h8g), "method", serializers.serialize$2$specifiedType(object.method, B.FullType_h8g)], type$.JSArray_legacy_Object); + type$.ExtensionEvent._as(object); + return ["params", serializers.serialize$2$specifiedType(object.params, B.FullType_h8g), "method", serializers.serialize$2$specifiedType(object.method, B.FullType_h8g)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var key, value, t1, $$v, _$result, t2, + var t1, value, $$v, _$result, t2, _s14_ = "ExtensionEvent", result = new A.ExtensionEventBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = A._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { + switch (t1) { case "params": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); $$v = result._extension_request$_$v; if ($$v != null) { result._params = $$v.params; @@ -22621,7 +22799,9 @@ result._params = t1; break; case "method": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); $$v = result._extension_request$_$v; if ($$v != null) { result._params = $$v.params; @@ -22642,7 +22822,7 @@ A.throwExpression(A.BuiltValueNullFieldError$(_s14_, "method")); _$result = new A._$ExtensionEvent(t1, t2); } - A.ArgumentError_checkNotNull(_$result, "other", type$.legacy_ExtensionEvent); + A.ArgumentError_checkNotNull(_$result, "other", type$.ExtensionEvent); return result._extension_request$_$v = _$result; }, deserialize$2(serializers, serialized) { @@ -22659,20 +22839,22 @@ }; A._$BatchedEventsSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return A._setArrayType(["events", serializers.serialize$2$specifiedType(type$.legacy_BatchedEvents._as(object).events, B.FullType_w24)], type$.JSArray_legacy_Object); + return ["events", serializers.serialize$2$specifiedType(type$.BatchedEvents._as(object).events, B.FullType_w24)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var t1, t2, t3, t4, key, value, $$v, t5, t6, t7, t8, t9, + var t1, t2, t3, t4, t5, value, $$v, t6, t7, t8, t9, result = new A.BatchedEventsBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); - for (t1 = type$.legacy_BuiltList_legacy_Object, t2 = type$.legacy_ExtensionEvent, t3 = type$.List_legacy_ExtensionEvent, t4 = type$.ListBuilder_legacy_ExtensionEvent; iterator.moveNext$0();) { - key = A._asStringS(iterator.get$current(iterator)); + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); + for (t1 = type$.BuiltList_nullable_Object, t2 = type$.ExtensionEvent, t3 = type$.List_ExtensionEvent, t4 = type$.ListBuilder_ExtensionEvent; iterator.moveNext$0();) { + t5 = iterator.get$current(iterator); + t5.toString; + A._asStringS(t5); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { + switch (t5) { case "events": $$v = result._extension_request$_$v; if ($$v != null) { @@ -22700,7 +22882,9 @@ t5.set$_listOwner(null); result.set$_extension_request$_events(t5); } - t6 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_w24)); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_w24); + t6.toString; + t1._as(t6); t7 = t5.$ti; t8 = t7._eval$1("_BuiltList<1>"); t9 = t7._eval$1("List<1>"); @@ -22862,7 +23046,7 @@ } t1 = _this._extension_request$_events; if (t1 == null) { - t1 = A.ListBuilder_ListBuilder(B.List_empty0, type$.legacy_ExtensionEvent); + t1 = A.ListBuilder_ListBuilder(B.List_empty0, type$.ExtensionEvent); _this.set$_extension_request$_events(t1); } return t1; @@ -22881,39 +23065,39 @@ } _$result = _$result0; } catch (exception) { - _$failedField = null; + _$failedField = A._Cell$named("_$failedField"); try { - _$failedField = "events"; + _$failedField.__late_helper$_value = "events"; _this.get$events().build$0(); } catch (exception) { e = A.unwrapException(exception); - t1 = A.BuiltValueNestedFieldError$(_s13_, _$failedField, J.toString$0$(e)); + t1 = A.BuiltValueNestedFieldError$(_s13_, _$failedField.readLocal$0(), J.toString$0$(e)); throw A.wrapException(t1); } throw exception; } - t1 = type$.legacy_BatchedEvents; + t1 = type$.BatchedEvents; t2 = t1._as(_$result); A.ArgumentError_checkNotNull(t2, "other", t1); _this._extension_request$_$v = t2; return _$result; }, set$_extension_request$_events(_events) { - this._extension_request$_events = type$.legacy_ListBuilder_legacy_ExtensionEvent._as(_events); + this._extension_request$_events = type$.nullable_ListBuilder_ExtensionEvent._as(_events); } }; A.IsolateExit.prototype = {}; A.IsolateStart.prototype = {}; A._$IsolateExitSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - type$.legacy_IsolateExit._as(object); - return A._setArrayType([], type$.JSArray_legacy_Object); + type$.IsolateExit._as(object); + return []; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); + type$.Iterable_nullable_Object._as(serialized); return new A.IsolateExitBuilder()._isolate_events$_build$0(); }, deserialize$2(serializers, serialized) { @@ -22930,14 +23114,14 @@ }; A._$IsolateStartSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - type$.legacy_IsolateStart._as(object); - return A._setArrayType([], type$.JSArray_legacy_Object); + type$.IsolateStart._as(object); + return []; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - type$.legacy_Iterable_legacy_Object._as(serialized); + type$.Iterable_nullable_Object._as(serialized); return new A.IsolateStartBuilder()._isolate_events$_build$0(); }, deserialize$2(serializers, serialized) { @@ -22972,7 +23156,7 @@ var _$result = this._isolate_events$_$v; if (_$result == null) _$result = new A._$IsolateExit(); - A.ArgumentError_checkNotNull(_$result, "other", type$.legacy_IsolateExit); + A.ArgumentError_checkNotNull(_$result, "other", type$.IsolateExit); return this._isolate_events$_$v = _$result; } }; @@ -22996,30 +23180,34 @@ var _$result = this._isolate_events$_$v; if (_$result == null) _$result = new A._$IsolateStart(); - A.ArgumentError_checkNotNull(_$result, "other", type$.legacy_IsolateStart); + A.ArgumentError_checkNotNull(_$result, "other", type$.IsolateStart); return this._isolate_events$_$v = _$result; } }; A.RegisterEvent.prototype = {}; A._$RegisterEventSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - type$.legacy_RegisterEvent._as(object); - return A._setArrayType(["eventData", serializers.serialize$2$specifiedType(object.eventData, B.FullType_h8g), "timestamp", serializers.serialize$2$specifiedType(object.timestamp, B.FullType_kjq)], type$.JSArray_legacy_Object); + type$.RegisterEvent._as(object); + return ["eventData", serializers.serialize$2$specifiedType(object.eventData, B.FullType_h8g), "timestamp", serializers.serialize$2$specifiedType(object.timestamp, B.FullType_kjq)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var key, value, t1, $$v, + var t1, value, $$v, result = new A.RegisterEventBuilder(), - iterator = J.get$iterator$ax(type$.legacy_Iterable_legacy_Object._as(serialized)); + iterator = J.get$iterator$ax(type$.Iterable_nullable_Object._as(serialized)); for (; iterator.moveNext$0();) { - key = A._asStringS(iterator.get$current(iterator)); + t1 = iterator.get$current(iterator); + t1.toString; + A._asStringS(t1); iterator.moveNext$0(); value = iterator.get$current(iterator); - switch (key) { + switch (t1) { case "eventData": - t1 = A._asStringS(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1.toString; + A._asStringS(t1); $$v = result._register_event$_$v; if ($$v != null) { result._register_event$_eventData = $$v.eventData; @@ -23029,7 +23217,9 @@ result._register_event$_eventData = t1; break; case "timestamp": - t1 = A._asIntS(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1.toString; + A._asIntS(t1); $$v = result._register_event$_$v; if ($$v != null) { result._register_event$_eventData = $$v.eventData; @@ -23097,24 +23287,24 @@ A.throwExpression(A.BuiltValueNullFieldError$(_s13_, "timestamp")); _$result = new A._$RegisterEvent(t1, t2); } - A.ArgumentError_checkNotNull(_$result, "other", type$.legacy_RegisterEvent); + A.ArgumentError_checkNotNull(_$result, "other", type$.RegisterEvent); return _this._register_event$_$v = _$result; } }; A.RunRequest.prototype = {}; A._$RunRequestSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - type$.legacy_RunRequest._as(object); - return A._setArrayType([], type$.JSArray_legacy_Object); + type$.RunRequest._as(object); + return []; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { var _$result; - type$.legacy_Iterable_legacy_Object._as(serialized); + type$.Iterable_nullable_Object._as(serialized); _$result = new A._$RunRequest(); - A.ArgumentError_checkNotNull(_$result, "other", type$.legacy_RunRequest); + A.ArgumentError_checkNotNull(_$result, "other", type$.RunRequest); return _$result; }, deserialize$2(serializers, serialized) { @@ -23146,13 +23336,13 @@ }; A._$serializers_closure.prototype = { call$0() { - return A.ListBuilder_ListBuilder(B.List_empty0, type$.legacy_DebugEvent); + return A.ListBuilder_ListBuilder(B.List_empty0, type$.DebugEvent); }, $signature: 57 }; A._$serializers_closure0.prototype = { call$0() { - return A.ListBuilder_ListBuilder(B.List_empty0, type$.legacy_ExtensionEvent); + return A.ListBuilder_ListBuilder(B.List_empty0, type$.ExtensionEvent); }, $signature: 58 }; @@ -23173,15 +23363,27 @@ t1 = this._channel, value = t1.__HtmlWebSocketChannel_sink; if (value === $) { - t2 = A._lateReadCheck(A._lateReadCheck(t1._html0$_controller.__StreamChannelController__foreign, "_foreign").__GuaranteeChannel__sink, "_sink"); - A._lateInitializeOnceCheck(t1.__HtmlWebSocketChannel_sink, "sink"); + t2 = t1._html0$_controller.__StreamChannelController__foreign; + if (t2 === $) + A.throwLateFieldNI("_foreign"); + t2 = t2.__GuaranteeChannel__sink; + if (t2 === $) + A.throwLateFieldNI("_sink"); + if (value !== $) + A.throwLateFieldADI("sink"); value = t1.__HtmlWebSocketChannel_sink = new A._HtmlWebSocketSink(t1, t2); } return value; }, get$stream(_) { - var t1 = A._lateReadCheck(A._lateReadCheck(this._channel._html0$_controller.__StreamChannelController__foreign, "_foreign").__GuaranteeChannel__streamController, "_streamController"), - t2 = A._instanceType(t1)._eval$1("_ControllerStream<1>"); + var t2, + t1 = this._channel._html0$_controller.__StreamChannelController__foreign; + if (t1 === $) + A.throwLateFieldNI("_foreign"); + t1 = t1.__GuaranteeChannel__streamController; + if (t1 === $) + A.throwLateFieldNI("_streamController"); + t2 = A._instanceType(t1)._eval$1("_ControllerStream<1>"); return new A._MapStream(t2._eval$1("String*(Stream.T)")._as(new A.WebSocketClient_stream_closure()), new A._ControllerStream(t1, t2), t2._eval$1("_MapStream")); } }; @@ -23564,23 +23766,35 @@ t2 = A.EventSource__factoryEventSource(t1, A.LinkedHashMap_LinkedHashMap$_literal(["withCredentials", true], type$.String, type$.dynamic)); _this.__SseClient__eventSource = t2; _this.__SseClient__serverUrl = t1; - t2 = new A._EventStream(A._lateReadCheck(t2, _s12_), "open", false, type$._EventStream_legacy_Event); + t2 = new A._EventStream(t2, "open", false, type$._EventStream_legacy_Event); t2.get$first(t2).whenComplete$1(new A.SseClient_closure(_this)); - t2 = A._lateReadCheck(_this.__SseClient__eventSource, _s12_); - (t2 && B.EventSource_methods).addEventListener$2(t2, "message", _this.get$_onIncomingMessage()); - t2 = A._lateReadCheck(_this.__SseClient__eventSource, _s12_); - (t2 && B.EventSource_methods).addEventListener$2(t2, "control", _this.get$_onIncomingControlMessage()); - t2 = A._lateReadCheck(_this.__SseClient__eventSource, _s12_); + t2 = _this.__SseClient__eventSource; + if (t2 === $) + A.throwLateFieldNI(_s12_); + B.EventSource_methods.addEventListener$2(t2, "message", _this.get$_onIncomingMessage()); + t2 = _this.__SseClient__eventSource; + if (t2 === $) + A.throwLateFieldNI(_s12_); + B.EventSource_methods.addEventListener$2(t2, "control", _this.get$_onIncomingControlMessage()); + t2 = _this.__SseClient__eventSource; + if (t2 === $) + A.throwLateFieldNI(_s12_); t1 = type$.nullable_void_Function_legacy_Event; t3 = t1._as(new A.SseClient_closure0(_this)); type$.nullable_void_Function._as(null); t4 = type$.legacy_Event; A._EventStreamSubscription$(t2, "open", t3, false, t4); - A._EventStreamSubscription$(A._lateReadCheck(_this.__SseClient__eventSource, _s12_), "error", t1._as(new A.SseClient_closure1(_this)), false, t4); + t3 = _this.__SseClient__eventSource; + if (t3 === $) + A.throwLateFieldNI(_s12_); + A._EventStreamSubscription$(t3, "error", t1._as(new A.SseClient_closure1(_this)), false, t4); }, close$0(_) { - var t1, _this = this; - A._lateReadCheck(_this.__SseClient__eventSource, "_eventSource").close(); + var _this = this, + t1 = _this.__SseClient__eventSource; + if (t1 === $) + A.throwLateFieldNI("_eventSource"); + t1.close(); if ((_this._onConnected.future._state & 30) === 0) { t1 = _this._outgoingController; new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$2$cancelOnError(null, true).asFuture$1$1(null, type$.dynamic); @@ -23672,7 +23886,7 @@ call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), - $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, e, e0, e1, exception, t1, $async$exception; + $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, e, e0, e1, exception, t1, t2, $async$exception; var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) { $async$currentError = $async$result; @@ -23697,8 +23911,11 @@ } $async$handler = 3; t1 = $async$self.$this; + t2 = t1.__SseClient__serverUrl; + if (t2 === $) + A.throwLateFieldNI("_serverUrl"); $async$goto = 6; - return A._asyncAwait(A.HttpRequest_request(A.S(A._lateReadCheck(t1.__SseClient__serverUrl, "_serverUrl")) + "&messageId=" + ++t1._lastMessageId, "POST", null, $async$self._box_0.encodedMessage, true), $async$call$0); + return A._asyncAwait(A.HttpRequest_request(t2 + "&messageId=" + ++t1._lastMessageId, "POST", null, $async$self._box_0.encodedMessage, true), $async$call$0); case 6: // returning from await. $async$handler = 1; @@ -23757,18 +23974,24 @@ var _this = this, t1 = _this.$ti, t2 = t1._eval$1("_GuaranteeSink<1>")._as(new A._GuaranteeSink(innerSink, _this, new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_dynamic), type$._AsyncCompleter_dynamic), allowSinkErrors, $T._eval$1("_GuaranteeSink<0>"))); - A._lateWriteOnceCheck(_this.__GuaranteeChannel__sink, "_sink"); + if (_this.__GuaranteeChannel__sink !== $) + A.throwLateFieldAI("_sink"); _this.set$__GuaranteeChannel__sink(t2); t1 = t1._eval$1("StreamController<1>")._as(A.StreamController_StreamController(null, new A.GuaranteeChannel_closure(_box_0, _this, $T), true, $T)); - A._lateWriteOnceCheck(_this.__GuaranteeChannel__streamController, "_streamController"); + if (_this.__GuaranteeChannel__streamController !== $) + A.throwLateFieldAI("_streamController"); _this.set$__GuaranteeChannel__streamController(t1); }, _onSinkDisconnected$0() { + var subscription, t1; this._disconnected = true; - var subscription = this._guarantee_channel$_subscription; + subscription = this._guarantee_channel$_subscription; if (subscription != null) subscription.cancel$0(0); - A._lateReadCheck(this.__GuaranteeChannel__streamController, "_streamController").close$0(0); + t1 = this.__GuaranteeChannel__streamController; + if (t1 === $) + A.throwLateFieldNI("_streamController"); + t1.close$0(0); }, set$__GuaranteeChannel__sink(__GuaranteeChannel__sink) { this.__GuaranteeChannel__sink = this.$ti._eval$1("_GuaranteeSink<1>")._as(__GuaranteeChannel__sink); @@ -23783,21 +24006,28 @@ A.GuaranteeChannel_closure.prototype = { call$0() { var t2, t3, - _s17_ = "_streamController", t1 = this.$this; if (t1._disconnected) return; t2 = this._box_0.innerStream; - t3 = A._lateReadCheck(t1.__GuaranteeChannel__streamController, _s17_); - t1.set$_guarantee_channel$_subscription(t2.listen$3$onDone$onError(this.T._eval$1("~(0)")._as(t3.get$add(t3)), new A.GuaranteeChannel__closure(t1), A._lateReadCheck(t1.__GuaranteeChannel__streamController, _s17_).get$addError())); + t3 = t1.__GuaranteeChannel__streamController; + if (t3 === $) + A.throwLateFieldNI("_streamController"); + t1.set$_guarantee_channel$_subscription(t2.listen$3$onDone$onError(this.T._eval$1("~(0)")._as(t3.get$add(t3)), new A.GuaranteeChannel__closure(t1), t3.get$addError())); }, $signature: 0 }; A.GuaranteeChannel__closure.prototype = { call$0() { - var t1 = this.$this; - A._lateReadCheck(t1.__GuaranteeChannel__sink, "_sink")._onStreamDisconnected$0(); - A._lateReadCheck(t1.__GuaranteeChannel__streamController, "_streamController").close$0(0); + var t1 = this.$this, + t2 = t1.__GuaranteeChannel__sink; + if (t2 === $) + A.throwLateFieldNI("_sink"); + t2._onStreamDisconnected$0(); + t1 = t1.__GuaranteeChannel__streamController; + if (t1 === $) + A.throwLateFieldNI("_streamController"); + t1.close$0(0); }, $signature: 0 }; @@ -24065,7 +24295,12 @@ t1.get$first(t1).then$1$1(0, new A.HtmlWebSocketChannel_closure2(_this), t3); }, _listen$0() { - var t1 = A._lateReadCheck(A._lateReadCheck(this._html0$_controller.__StreamChannelController__local, "_local").__GuaranteeChannel__streamController, "_streamController"); + var t1 = this._html0$_controller.__StreamChannelController__local; + if (t1 === $) + A.throwLateFieldNI("_local"); + t1 = t1.__GuaranteeChannel__streamController; + if (t1 === $) + A.throwLateFieldNI("_streamController"); new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$2$onDone(B.WebSocket_methods.get$send(this.innerWebSocket), new A.HtmlWebSocketChannel__listen_closure(this)); }, $isWebSocketChannel: 1 @@ -24079,29 +24314,55 @@ }; A.HtmlWebSocketChannel_closure0.prototype = { call$1(_) { - var t1; + var t1, t2; type$.Event._as(_); t1 = this.$this._html0$_controller; - A._lateReadCheck(A._lateReadCheck(t1.__StreamChannelController__local, "_local").__GuaranteeChannel__sink, "_sink").addError$1(new A.WebSocketChannelException("WebSocket connection failed.")); - A._lateReadCheck(A._lateReadCheck(t1.__StreamChannelController__local, "_local").__GuaranteeChannel__sink, "_sink").close$0(0); + t2 = t1.__StreamChannelController__local; + if (t2 === $) + A.throwLateFieldNI("_local"); + t2 = t2.__GuaranteeChannel__sink; + if (t2 === $) + A.throwLateFieldNI("_sink"); + t2.addError$1(new A.WebSocketChannelException("WebSocket connection failed.")); + t1 = t1.__StreamChannelController__local; + if (t1 === $) + A.throwLateFieldNI("_local"); + t1 = t1.__GuaranteeChannel__sink; + if (t1 === $) + A.throwLateFieldNI("_sink"); + t1.close$0(0); }, $signature: 26 }; A.HtmlWebSocketChannel_closure1.prototype = { call$1($event) { - var data = new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(type$.MessageEvent._as($event).data, true); + var t1, + data = new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(type$.MessageEvent._as($event).data, true); if (type$.ByteBuffer._is(data)) data = A.NativeUint8List_NativeUint8List$view(data, 0, null); - A._lateReadCheck(A._lateReadCheck(this.$this._html0$_controller.__StreamChannelController__local, "_local").__GuaranteeChannel__sink, "_sink").add$1(0, data); + t1 = this.$this._html0$_controller.__StreamChannelController__local; + if (t1 === $) + A.throwLateFieldNI("_local"); + t1 = t1.__GuaranteeChannel__sink; + if (t1 === $) + A.throwLateFieldNI("_sink"); + t1.add$1(0, data); }, $signature: 64 }; A.HtmlWebSocketChannel_closure2.prototype = { call$1($event) { + var t1; type$.CloseEvent._as($event); $event.code; $event.reason; - A._lateReadCheck(A._lateReadCheck(this.$this._html0$_controller.__StreamChannelController__local, "_local").__GuaranteeChannel__sink, "_sink").close$0(0); + t1 = this.$this._html0$_controller.__StreamChannelController__local; + if (t1 === $) + A.throwLateFieldNI("_local"); + t1 = t1.__GuaranteeChannel__sink; + if (t1 === $) + A.throwLateFieldNI("_sink"); + t1.close$0(0); }, $signature: 65 }; @@ -24190,7 +24451,7 @@ t3.lastPendingEvent = t4; } } - B.JSArray_methods.set$length(buffer, 0); + B.JSArray_methods.clear$0(buffer); } lastSendTime = lastSendTime0; } @@ -24306,7 +24567,7 @@ t1 = client.get$sink(); t2 = $.$get$serializers(); t3 = new A.ConnectRequestBuilder(); - type$.legacy_void_Function_legacy_ConnectRequestBuilder._as(new A.main__closure7()).call$1(t3); + type$.nullable_void_Function_ConnectRequestBuilder._as(new A.main__closure7()).call$1(t3); A._trySendEvent(t1, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(t3._build$0()), null), type$.dynamic); } else A.runMain(); @@ -24333,7 +24594,7 @@ t1 = this.client.get$sink(); t2 = $.$get$serializers(); t3 = new A.BatchedDebugEventsBuilder(); - type$.legacy_void_Function_legacy_BatchedDebugEventsBuilder._as(new A.main___closure2(events)).call$1(t3); + type$.nullable_void_Function_BatchedDebugEventsBuilder._as(new A.main___closure2(events)).call$1(t3); A._trySendEvent(t1, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(t3._debug_event$_build$0()), null), type$.dynamic); } }, @@ -24342,7 +24603,7 @@ A.main___closure2.prototype = { call$1(b) { var t1 = A.ListBuilder_ListBuilder(this.events, type$.legacy_DebugEvent); - type$.legacy_ListBuilder_legacy_DebugEvent._as(t1); + type$.nullable_ListBuilder_DebugEvent._as(t1); b.get$_debug_event$_$this().set$_events(t1); return t1; }, @@ -24356,7 +24617,7 @@ if (A.boolConversionCheck(self.$dartEmitDebugEvents)) { t1 = this.debugEventController._inputController; t2 = new A.DebugEventBuilder(); - type$.legacy_void_Function_legacy_DebugEventBuilder._as(new A.main___closure1(kind, eventData)).call$1(t2); + type$.nullable_void_Function_DebugEventBuilder._as(new A.main___closure1(kind, eventData)).call$1(t2); A._trySendEvent(new A._StreamSinkWrapper(t1, A._instanceType(t1)._eval$1("_StreamSinkWrapper<1>")), t2._debug_event$_build$0(), type$.legacy_DebugEvent); } }, @@ -24379,7 +24640,7 @@ t1 = this.client.get$sink(); t2 = $.$get$serializers(); t3 = new A.RegisterEventBuilder(); - type$.legacy_void_Function_legacy_RegisterEventBuilder._as(new A.main___closure0(eventData)).call$1(t3); + type$.nullable_void_Function_RegisterEventBuilder._as(new A.main___closure0(eventData)).call$1(t3); A._trySendEvent(t1, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(t3._register_event$_build$0()), null), type$.dynamic); }, $signature: 73 @@ -24403,16 +24664,16 @@ t1 = this.client.get$sink(); t2 = $.$get$serializers(); t3 = new A.DevToolsRequestBuilder(); - type$.legacy_void_Function_legacy_DevToolsRequestBuilder._as(new A.main___closure()).call$1(t3); + type$.nullable_void_Function_DevToolsRequestBuilder._as(new A.main___closure()).call$1(t3); A._trySendEvent(t1, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(t3._devtools_request$_build$0()), null), type$.dynamic); }, $signature: 2 }; A.main___closure.prototype = { call$1(b) { - var t1 = A._asStringS(self.$dartAppId); + var t1 = A._asStringQ(self.$dartAppId); b.get$_devtools_request$_$this()._devtools_request$_appId = t1; - t1 = A._asStringS(self.$dartAppInstanceId); + t1 = A._asStringQ(self.$dartAppInstanceId); b.get$_devtools_request$_$this()._devtools_request$_instanceId = t1; return b; }, @@ -24514,11 +24775,11 @@ }; A.main__closure7.prototype = { call$1(b) { - var t1 = A._asStringS(self.$dartAppId); + var t1 = A._asStringQ(self.$dartAppId); b.get$_$this()._appId = t1; - t1 = A._asStringS(self.$dartAppInstanceId); + t1 = A._asStringQ(self.$dartAppInstanceId); b.get$_$this()._instanceId = t1; - t1 = A._asStringS(self.$dartEntrypointPath); + t1 = A._asStringQ(self.$dartEntrypointPath); b.get$_$this()._entrypointPath = t1; return b; }, @@ -24604,7 +24865,7 @@ // Function start t1 = $async$self._client.get$sink(); t2 = $.$get$serializers(); - type$.legacy_void_Function_legacy_IsolateExitBuilder._as(null); + type$.nullable_void_Function_IsolateExitBuilder._as(null); t1.add$1(0, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(new A.IsolateExitBuilder()._isolate_events$_build$0()), null)); $async$goto = 3; return A._asyncAwait($async$self._restarter.restart$1$runId(runId), $async$hotRestart$1$runId); @@ -24632,7 +24893,7 @@ return; t1 = this._client.get$sink(); t2 = $.$get$serializers(); - type$.legacy_void_Function_legacy_IsolateStartBuilder._as(null); + type$.nullable_void_Function_IsolateStartBuilder._as(null); t1.add$1(0, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(new A.IsolateStartBuilder()._isolate_events$_build$0()), null)); } }; @@ -25366,12 +25627,12 @@ typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []}, mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"}, mangledNames: {}, - types: ["~()", "@(@)", "Null()", "Object?(@)", "~(@)", "~(Event)", "~(String,@)", "Null(@)", "Null(Object,StackTrace)", "~(@,@)", "~(~())", "bool(@)", "Set<0^>()", "bool(Object?,Object?)", "int(Object?)", "int(@,@)", "~(Object?)", "~(Object?,Object?)", "~(Symbol0,@)", "int(int,int)", "int(int)", "String(String)", "~(Uint8List,String,int)", "bool(Element,String,String,_Html5NodeValidator)", "ScriptElement*()", "bool*()", "Null(Event)", "Object?(Object?)", "~(Object[StackTrace?])", "String(int,int)", "bool(String)", "~(Object,StackTrace)", "bool(NodeValidator)", "Future()", "~(ProgressEvent)", "~(int,@)", "bool(Node)", "Uint8List(@,@)", "~(Node,Node?)", "Null(@,@)", "@(@,@)", "@(Object?)", "JsFunction(@)", "JsArray<@>(@)", "JsObject(@)", "int(int,@)", "IndentingBuiltValueToStringHelper(String)", "ListBuilder()", "ListMultimapBuilder()", "MapBuilder()", "SetBuilder()", "~(String,String)", "~(String,int?)", "~(String,int)", "~([Object?])", "Null(@,StackTrace)", "bool(Object?)", "ListBuilder*()", "ListBuilder*()", "String*(@)", "Logger()", "~(String?)", "Null(~())", "@(@,String)", "~(MessageEvent)", "Null(CloseEvent)", "~(Zone,ZoneDelegate,Zone,Object,StackTrace)", "Future*()", "bool(Object,Object)", "Null(List*)", "ListBuilder*(BatchedDebugEventsBuilder*)", "Null(String*,String*)", "DebugEventBuilder*(DebugEventBuilder*)", "Null(String*)", "RegisterEventBuilder*(RegisterEventBuilder*)", "DevToolsRequestBuilder*(DevToolsRequestBuilder*)", "Future*(String*)", "Null(Event*)", "ConnectRequestBuilder*(ConnectRequestBuilder*)", "Null(Object*,StackTrace*)", "Null(MessageEvent*)", "List*(String*)", "int*(String*,String*)", "~(JsError*)", "ScriptElement*()*()", "~(@,StackTrace)", "Promise<1&>*(String*)", "@(String)", "~(Zone?,ZoneDelegate?,Zone,Object,StackTrace)", "0^(Zone?,ZoneDelegate?,Zone,0^())", "0^(Zone?,ZoneDelegate?,Zone,0^(1^),1^)", "0^(Zone?,ZoneDelegate?,Zone,0^(1^,2^),1^,2^)", "0^()(Zone,ZoneDelegate,Zone,0^())", "0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))", "0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))", "AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)", "~(Zone?,ZoneDelegate?,Zone,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))", "~(Zone,ZoneDelegate,Zone,String)", "~(String)", "Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map?)", "_Future<@>(@)", "SetMultimapBuilder()"], + types: ["~()", "@(@)", "Null()", "Object?(@)", "~(@)", "~(Event)", "~(String,@)", "Null(@)", "Null(Object,StackTrace)", "~(@,@)", "~(~())", "bool(@)", "Set<0^>()", "bool(Object?,Object?)", "int(Object?)", "int(@,@)", "~(Object?)", "~(Object?,Object?)", "~(Symbol0,@)", "int(int,int)", "int(int)", "String(String)", "~(Uint8List,String,int)", "bool(Element,String,String,_Html5NodeValidator)", "ScriptElement*()", "bool*()", "Null(Event)", "Object?(Object?)", "~(Object[StackTrace?])", "String(int,int)", "bool(String)", "~(Object,StackTrace)", "bool(NodeValidator)", "Future()", "~(ProgressEvent)", "~(int,@)", "bool(Node)", "Uint8List(@,@)", "~(Node,Node?)", "Null(@,@)", "@(@,@)", "@(Object?)", "JsFunction(@)", "JsArray<@>(@)", "JsObject(@)", "int(int,@)", "IndentingBuiltValueToStringHelper(String)", "ListBuilder()", "ListMultimapBuilder()", "MapBuilder()", "SetBuilder()", "~(String,String)", "~(String,int?)", "~(String,int)", "~([Object?])", "Null(@,StackTrace)", "bool(Object?)", "ListBuilder()", "ListBuilder()", "String*(@)", "Logger()", "~(String?)", "Null(~())", "@(@,String)", "~(MessageEvent)", "Null(CloseEvent)", "~(Zone,ZoneDelegate,Zone,Object,StackTrace)", "Future*()", "bool(Object,Object)", "Null(List*)", "ListBuilder*(BatchedDebugEventsBuilder*)", "Null(String*,String*)", "DebugEventBuilder*(DebugEventBuilder*)", "Null(String*)", "RegisterEventBuilder*(RegisterEventBuilder*)", "DevToolsRequestBuilder*(DevToolsRequestBuilder*)", "Future*(String*)", "Null(Event*)", "ConnectRequestBuilder*(ConnectRequestBuilder*)", "Null(Object*,StackTrace*)", "Null(MessageEvent*)", "List*(String*)", "int*(String*,String*)", "~(JsError*)", "ScriptElement*()*()", "~(@,StackTrace)", "Promise<1&>*(String*)", "@(String)", "~(Zone?,ZoneDelegate?,Zone,Object,StackTrace)", "0^(Zone?,ZoneDelegate?,Zone,0^())", "0^(Zone?,ZoneDelegate?,Zone,0^(1^),1^)", "0^(Zone?,ZoneDelegate?,Zone,0^(1^,2^),1^,2^)", "0^()(Zone,ZoneDelegate,Zone,0^())", "0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))", "0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))", "AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)", "~(Zone?,ZoneDelegate?,Zone,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))", "~(Zone,ZoneDelegate,Zone,String)", "~(String)", "Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map?)", "_Future<@>(@)", "SetMultimapBuilder()"], interceptorsByTag: null, leafTags: null, arrayRti: Symbol("$ti") }; - A._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","Promise":"LegacyJavaScriptObject","JsError":"LegacyJavaScriptObject","RequireLoader":"LegacyJavaScriptObject","JsMap":"LegacyJavaScriptObject","AbortPaymentEvent":"Event","ExtendableEvent":"Event","AudioContext":"BaseAudioContext","AbsoluteOrientationSensor":"EventTarget","OrientationSensor":"EventTarget","Sensor":"EventTarget","AElement":"SvgElement","GraphicsElement":"SvgElement","_ResourceProgressEvent":"ProgressEvent","AudioElement":"HtmlElement","MediaElement":"HtmlElement","ShadowRoot":"Node","DocumentFragment":"Node","XmlDocument":"Document","VttCue":"TextTrackCue","CompositionEvent":"UIEvent","DedicatedWorkerGlobalScope":"WorkerGlobalScope","CDataSection":"CharacterData","Text":"CharacterData","HttpRequestUpload":"HttpRequestEventTarget","HtmlFormControlsCollection":"HtmlCollection","CssCharsetRule":"CssRule","CssStyleSheet":"StyleSheet","JSBool":{"bool":[]},"JSNull":{"Null":[]},"LegacyJavaScriptObject":{"JSObject":[],"Promise":["1&"],"JsError":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ArrayIterator":{"Iterator":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"]},"JSString":{"String":[],"Comparable":["String"],"Pattern":[]},"_CastIterableBase":{"Iterable":["2"]},"CastIterator":{"Iterator":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","Iterable.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapMixin":["3","4"],"Map":["3","4"],"MapMixin.K":"3","MapMixin.V":"4"},"CastQueue":{"Queue":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"LateError":{"Error":[]},"ReachabilityError":{"Error":[]},"NotNullableError":{"TypeError":[],"Error":[]},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"ListIterator":{"Iterator":["1"]},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedIterator":{"Iterator":["2"]},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListIterable.E":"2","Iterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereIterator":{"Iterator":["1"]},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterator":{"Iterator":["1"]},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"EmptyIterator":{"Iterator":["1"]},"UnmodifiableListBase":{"ListMixin":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_ConstantMapKeyIterable":{"Iterable":["1"],"Iterable.E":"1"},"JSInvocationMirror":{"Invocation":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Function":[]},"Closure2Args":{"Function":[]},"TearOffClosure":{"Function":[]},"StaticClosure":{"Function":[]},"BoundClosure":{"Function":[]},"RuntimeError":{"Error":[]},"_AssertionError":{"Error":[]},"JsLinkedHashMap":{"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapKeyIterator":{"Iterator":["1"]},"JSSyntaxRegExp":{"RegExp":[],"Pattern":[]},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"_AllMatchesIterator":{"Iterator":["RegExpMatch"]},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"_StringAllMatchesIterator":{"Iterator":["Match"]},"NativeByteBuffer":{"ByteBuffer":[]},"NativeTypedData":{"TypedData":[]},"NativeByteData":{"NativeTypedData":[],"TypedData":[]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"],"NativeTypedData":[],"TypedData":[]},"NativeTypedArrayOfDouble":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"Iterable":["double"],"FixedLengthListMixin":["double"]},"NativeTypedArrayOfInt":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"]},"NativeFloat32List":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"Iterable":["double"],"FixedLengthListMixin":["double"],"ListMixin.E":"double"},"NativeFloat64List":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"Iterable":["double"],"FixedLengthListMixin":["double"],"ListMixin.E":"double"},"NativeInt16List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeInt32List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeInt8List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint16List":{"ListMixin":["int"],"Uint16List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint32List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint8ClampedList":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint8List":{"ListMixin":["int"],"Uint8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"_Type":{"Type":[]},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_Future":{"Future":["1"]},"_TimerImpl":{"Timer":[]},"_AsyncAwaitCompleter":{"Completer":["1"]},"_Completer":{"Completer":["1"]},"_AsyncCompleter":{"_Completer":["1"],"Completer":["1"]},"_SyncCompleter":{"_Completer":["1"],"Completer":["1"]},"StreamTransformerBase":{"StreamTransformer":["1","2"]},"_StreamController":{"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_AsyncStreamController":{"_AsyncStreamControllerDispatch":["1"],"_StreamController":["1"],"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_SyncStreamController":{"_SyncStreamControllerDispatch":["1"],"_StreamController":["1"],"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamSinkWrapper":{"StreamSink":["1"]},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_DelayedData":{"_DelayedEvent":["1"]},"_DelayedError":{"_DelayedEvent":["@"]},"_DelayedDone":{"_DelayedEvent":["@"]},"_StreamImplEvents":{"_PendingEvents":["1"]},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_EventSink":["2"],"_EventDispatch":["2"],"_BufferingStreamSubscription.T":"2"},"_MapStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2"},"_ZoneSpecification":{"ZoneSpecification":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_Zone":{"Zone":[]},"_CustomZone":{"_Zone":[],"Zone":[]},"_RootZone":{"_Zone":[],"Zone":[]},"_SplayTreeSetNode":{"_SplayTreeNode":["1","_SplayTreeSetNode<1>"],"_SplayTreeNode.K":"1","_SplayTreeNode.1":"_SplayTreeSetNode<1>"},"_HashMap":{"MapMixin":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_CustomHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_HashMapKeyIterator":{"Iterator":["1"]},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_HashSetIterator":{"Iterator":["1"]},"_LinkedHashSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedHashSetIterator":{"Iterator":["1"]},"UnmodifiableListView":{"ListMixin":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","UnmodifiableListMixin.E":"1"},"IterableBase":{"Iterable":["1"]},"ListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"MapMixin":{"Map":["1","2"]},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ListQueue":{"ListIterable":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"_ListQueueIterator":{"Iterator":["1"]},"_SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SplayTreeIterator":{"Iterator":["3"]},"_SplayTreeKeyIterator":{"_SplayTreeIterator":["1","2","1"],"Iterator":["1"],"_SplayTreeIterator.1":"2","_SplayTreeIterator.K":"1"},"SplayTreeSet":{"SetMixin":["1"],"Set":["1"],"IterableMixin":["1"],"EfficientLengthIterable":["1"],"_SplayTree":["1","_SplayTreeSetNode<1>"],"Iterable":["1"],"_SplayTree.K":"1","_SplayTree.1":"_SplayTreeSetNode<1>"},"_JsonMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"_JsonMapKeyIterable":{"ListIterable":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ListIterable.E":"String","Iterable.E":"String"},"Base64Codec":{"Codec":["List","String"],"Codec.S":"List"},"Base64Encoder":{"Converter":["List","String"],"StreamTransformer":["List","String"]},"Converter":{"StreamTransformer":["1","2"]},"Encoding":{"Codec":["String","List"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"],"Codec.S":"Object?"},"JsonEncoder":{"Converter":["Object?","String"],"StreamTransformer":["Object?","String"]},"JsonDecoder":{"Converter":["String","Object?"],"StreamTransformer":["String","Object?"]},"Utf8Codec":{"Codec":["String","List"],"Codec.S":"String"},"Utf8Encoder":{"Converter":["String","List"],"StreamTransformer":["String","List"]},"BigInt":{"Comparable":["BigInt"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExp":{"Pattern":[]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"],"Pattern":[]},"_BigIntImpl":{"BigInt":[],"Comparable":["BigInt"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"NullThrownError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"CyclicInitializationError":{"Error":[]},"IntegerDivisionByZeroException":{"Error":[]},"_StringStackTrace":{"StackTrace":[]},"StringBuffer":{"StringSink":[]},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"CloseEvent":{"Event":[]},"Element":{"Node":[],"EventTarget":[]},"File":{"Blob":[]},"HttpRequest":{"EventTarget":[]},"KeyboardEvent":{"Event":[]},"MessageEvent":{"Event":[]},"Node":{"EventTarget":[]},"ProgressEvent":{"Event":[]},"ScriptElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"SourceBuffer":{"EventTarget":[]},"TextTrack":{"EventTarget":[]},"TextTrackCue":{"EventTarget":[]},"_Html5NodeValidator":{"NodeValidator":[]},"HtmlElement":{"Element":[],"Node":[],"EventTarget":[]},"AnchorElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"AreaElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"BaseElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"BodyElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"CharacterData":{"Node":[],"EventTarget":[]},"CustomEvent":{"Event":[]},"Document":{"Node":[],"EventTarget":[]},"DomRectList":{"ListMixin":["Rectangle"],"ImmutableListMixin":["Rectangle"],"List":["Rectangle"],"JavaScriptIndexingBehavior":["Rectangle"],"EfficientLengthIterable":["Rectangle"],"Iterable":["Rectangle"],"ImmutableListMixin.E":"Rectangle","ListMixin.E":"Rectangle"},"DomRectReadOnly":{"Rectangle":["num"]},"DomStringList":{"ListMixin":["String"],"ImmutableListMixin":["String"],"List":["String"],"JavaScriptIndexingBehavior":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ImmutableListMixin.E":"String","ListMixin.E":"String"},"_FrozenElementList":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"EventSource":{"EventTarget":[]},"FileList":{"ListMixin":["File"],"ImmutableListMixin":["File"],"List":["File"],"JavaScriptIndexingBehavior":["File"],"EfficientLengthIterable":["File"],"Iterable":["File"],"ImmutableListMixin.E":"File","ListMixin.E":"File"},"FileWriter":{"EventTarget":[]},"FormElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"HtmlCollection":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"HtmlDocument":{"Document":[],"Node":[],"EventTarget":[]},"HttpRequestEventTarget":{"EventTarget":[]},"MessagePort":{"EventTarget":[]},"MidiInputMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"MidiOutputMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"MimeTypeArray":{"ListMixin":["MimeType"],"ImmutableListMixin":["MimeType"],"List":["MimeType"],"JavaScriptIndexingBehavior":["MimeType"],"EfficientLengthIterable":["MimeType"],"Iterable":["MimeType"],"ImmutableListMixin.E":"MimeType","ListMixin.E":"MimeType"},"_ChildNodeListLazy":{"ListMixin":["Node"],"List":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ListMixin.E":"Node"},"NodeList":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"PluginArray":{"ListMixin":["Plugin"],"ImmutableListMixin":["Plugin"],"List":["Plugin"],"JavaScriptIndexingBehavior":["Plugin"],"EfficientLengthIterable":["Plugin"],"Iterable":["Plugin"],"ImmutableListMixin.E":"Plugin","ListMixin.E":"Plugin"},"RtcStatsReport":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"SelectElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"SourceBufferList":{"ListMixin":["SourceBuffer"],"ImmutableListMixin":["SourceBuffer"],"EventTarget":[],"List":["SourceBuffer"],"JavaScriptIndexingBehavior":["SourceBuffer"],"EfficientLengthIterable":["SourceBuffer"],"Iterable":["SourceBuffer"],"ImmutableListMixin.E":"SourceBuffer","ListMixin.E":"SourceBuffer"},"SpeechGrammarList":{"ListMixin":["SpeechGrammar"],"ImmutableListMixin":["SpeechGrammar"],"List":["SpeechGrammar"],"JavaScriptIndexingBehavior":["SpeechGrammar"],"EfficientLengthIterable":["SpeechGrammar"],"Iterable":["SpeechGrammar"],"ImmutableListMixin.E":"SpeechGrammar","ListMixin.E":"SpeechGrammar"},"Storage":{"MapMixin":["String","String"],"Map":["String","String"],"MapMixin.K":"String","MapMixin.V":"String"},"TableElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"TableRowElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"TableSectionElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"TemplateElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"TextTrackCueList":{"ListMixin":["TextTrackCue"],"ImmutableListMixin":["TextTrackCue"],"List":["TextTrackCue"],"JavaScriptIndexingBehavior":["TextTrackCue"],"EfficientLengthIterable":["TextTrackCue"],"Iterable":["TextTrackCue"],"ImmutableListMixin.E":"TextTrackCue","ListMixin.E":"TextTrackCue"},"TextTrackList":{"ListMixin":["TextTrack"],"ImmutableListMixin":["TextTrack"],"EventTarget":[],"List":["TextTrack"],"JavaScriptIndexingBehavior":["TextTrack"],"EfficientLengthIterable":["TextTrack"],"Iterable":["TextTrack"],"ImmutableListMixin.E":"TextTrack","ListMixin.E":"TextTrack"},"TouchList":{"ListMixin":["Touch"],"ImmutableListMixin":["Touch"],"List":["Touch"],"JavaScriptIndexingBehavior":["Touch"],"EfficientLengthIterable":["Touch"],"Iterable":["Touch"],"ImmutableListMixin.E":"Touch","ListMixin.E":"Touch"},"UIEvent":{"Event":[]},"VideoTrackList":{"EventTarget":[]},"WebSocket":{"EventTarget":[]},"Window":{"EventTarget":[]},"WorkerGlobalScope":{"EventTarget":[]},"_Attr":{"Node":[],"EventTarget":[]},"_CssRuleList":{"ListMixin":["CssRule"],"ImmutableListMixin":["CssRule"],"List":["CssRule"],"JavaScriptIndexingBehavior":["CssRule"],"EfficientLengthIterable":["CssRule"],"Iterable":["CssRule"],"ImmutableListMixin.E":"CssRule","ListMixin.E":"CssRule"},"_DomRect":{"Rectangle":["num"]},"_GamepadList":{"ListMixin":["Gamepad?"],"ImmutableListMixin":["Gamepad?"],"List":["Gamepad?"],"JavaScriptIndexingBehavior":["Gamepad?"],"EfficientLengthIterable":["Gamepad?"],"Iterable":["Gamepad?"],"ImmutableListMixin.E":"Gamepad?","ListMixin.E":"Gamepad?"},"_NamedNodeMap":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"_SpeechRecognitionResultList":{"ListMixin":["SpeechRecognitionResult"],"ImmutableListMixin":["SpeechRecognitionResult"],"List":["SpeechRecognitionResult"],"JavaScriptIndexingBehavior":["SpeechRecognitionResult"],"EfficientLengthIterable":["SpeechRecognitionResult"],"Iterable":["SpeechRecognitionResult"],"ImmutableListMixin.E":"SpeechRecognitionResult","ListMixin.E":"SpeechRecognitionResult"},"_StyleSheetList":{"ListMixin":["StyleSheet"],"ImmutableListMixin":["StyleSheet"],"List":["StyleSheet"],"JavaScriptIndexingBehavior":["StyleSheet"],"EfficientLengthIterable":["StyleSheet"],"Iterable":["StyleSheet"],"ImmutableListMixin.E":"StyleSheet","ListMixin.E":"StyleSheet"},"_AttributeMap":{"MapMixin":["String","String"],"Map":["String","String"]},"_ElementAttributeMap":{"MapMixin":["String","String"],"Map":["String","String"],"MapMixin.K":"String","MapMixin.V":"String"},"_EventStream":{"Stream":["1"],"Stream.T":"1"},"_EventStreamSubscription":{"StreamSubscription":["1"]},"NodeValidatorBuilder":{"NodeValidator":[]},"_SimpleNodeValidator":{"NodeValidator":[]},"_TemplatingNodeValidator":{"NodeValidator":[]},"_SvgNodeValidator":{"NodeValidator":[]},"FixedSizeListIterator":{"Iterator":["1"]},"_DOMWindowCrossFrame":{"EventTarget":[]},"_SameOriginUriPolicy":{"UriPolicy":[]},"_ValidatingTreeSanitizer":{"NodeTreeSanitizer":[]},"JsFunction":{"JsObject":[]},"JsArray":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"JsObject":[],"Iterable":["1"],"ListMixin.E":"1"},"LengthList":{"ListMixin":["Length"],"ImmutableListMixin":["Length"],"List":["Length"],"EfficientLengthIterable":["Length"],"Iterable":["Length"],"ImmutableListMixin.E":"Length","ListMixin.E":"Length"},"NumberList":{"ListMixin":["Number"],"ImmutableListMixin":["Number"],"List":["Number"],"EfficientLengthIterable":["Number"],"Iterable":["Number"],"ImmutableListMixin.E":"Number","ListMixin.E":"Number"},"ScriptElement0":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"StringList":{"ListMixin":["String"],"ImmutableListMixin":["String"],"List":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ImmutableListMixin.E":"String","ListMixin.E":"String"},"SvgElement":{"Element":[],"Node":[],"EventTarget":[]},"TransformList":{"ListMixin":["Transform"],"ImmutableListMixin":["Transform"],"List":["Transform"],"EfficientLengthIterable":["Transform"],"Iterable":["Transform"],"ImmutableListMixin.E":"Transform","ListMixin.E":"Transform"},"AudioParamMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"AudioTrackList":{"EventTarget":[]},"BaseAudioContext":{"EventTarget":[]},"OfflineAudioContext":{"EventTarget":[]},"DelegatingStreamSink":{"StreamSink":["1"]},"ErrorResult":{"Result":["0&"]},"ValueResult":{"Result":["1"]},"_NextRequest":{"_EventRequest":["1"]},"_HasNextRequest":{"_EventRequest":["1"]},"CopyOnWriteList":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"BuiltList":{"Iterable":["1"]},"_BuiltList":{"BuiltList":["1"],"Iterable":["1"]},"_BuiltListMultimap":{"BuiltListMultimap":["1","2"]},"_BuiltMap":{"BuiltMap":["1","2"]},"BuiltSet":{"Iterable":["1"]},"_BuiltSet":{"BuiltSet":["1"],"Iterable":["1"]},"_BuiltSetMultimap":{"BuiltSetMultimap":["1","2"]},"BuiltValueNullFieldError":{"Error":[]},"BuiltValueNestedFieldError":{"Error":[]},"BoolJsonObject":{"JsonObject":[]},"ListJsonObject":{"JsonObject":[]},"MapJsonObject":{"JsonObject":[]},"NumJsonObject":{"JsonObject":[]},"StringJsonObject":{"JsonObject":[]},"DeserializationError":{"Error":[]},"BigIntSerializer":{"PrimitiveSerializer":["BigInt"],"Serializer":["BigInt"]},"BoolSerializer":{"PrimitiveSerializer":["bool"],"Serializer":["bool"]},"BuiltJsonSerializers":{"Serializers":[]},"BuiltListMultimapSerializer":{"StructuredSerializer":["BuiltListMultimap<@,@>"],"Serializer":["BuiltListMultimap<@,@>"]},"BuiltListSerializer":{"StructuredSerializer":["BuiltList<@>"],"Serializer":["BuiltList<@>"]},"BuiltMapSerializer":{"StructuredSerializer":["BuiltMap<@,@>"],"Serializer":["BuiltMap<@,@>"]},"BuiltSetMultimapSerializer":{"StructuredSerializer":["BuiltSetMultimap<@,@>"],"Serializer":["BuiltSetMultimap<@,@>"]},"BuiltSetSerializer":{"StructuredSerializer":["BuiltSet<@>"],"Serializer":["BuiltSet<@>"]},"DateTimeSerializer":{"PrimitiveSerializer":["DateTime"],"Serializer":["DateTime"]},"DoubleSerializer":{"PrimitiveSerializer":["double"],"Serializer":["double"]},"DurationSerializer":{"PrimitiveSerializer":["Duration"],"Serializer":["Duration"]},"Int64Serializer":{"PrimitiveSerializer":["Int64"],"Serializer":["Int64"]},"IntSerializer":{"PrimitiveSerializer":["int"],"Serializer":["int"]},"JsonObjectSerializer":{"PrimitiveSerializer":["JsonObject"],"Serializer":["JsonObject"]},"NullSerializer":{"PrimitiveSerializer":["Null"],"Serializer":["Null"]},"NumSerializer":{"PrimitiveSerializer":["num"],"Serializer":["num"]},"RegExpSerializer":{"PrimitiveSerializer":["RegExp"],"Serializer":["RegExp"]},"StringSerializer":{"PrimitiveSerializer":["String"],"Serializer":["String"]},"UriSerializer":{"PrimitiveSerializer":["Uri"],"Serializer":["Uri"]},"DefaultEquality":{"Equality":["1"]},"IterableEquality":{"Equality":["Iterable<1>"]},"ListEquality":{"Equality":["List<1>"]},"_UnorderedEquality":{"Equality":["2"]},"SetEquality":{"_UnorderedEquality":["1","Set<1>"],"Equality":["Set<1>"],"_UnorderedEquality.E":"1","_UnorderedEquality.T":"Set<1>"},"MapEquality":{"Equality":["Map<1,2>"]},"DeepCollectionEquality":{"Equality":["@"]},"QueueList":{"ListMixin":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","QueueList.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListMixin":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","QueueList.E":"2"},"_$BuildStatusSerializer":{"PrimitiveSerializer":["BuildStatus*"],"Serializer":["BuildStatus*"]},"_$BuildResultSerializer":{"StructuredSerializer":["BuildResult*"],"Serializer":["BuildResult*"]},"_$BuildResult":{"BuildResult":[]},"_$ConnectRequestSerializer":{"StructuredSerializer":["ConnectRequest*"],"Serializer":["ConnectRequest*"]},"_$ConnectRequest":{"ConnectRequest":[]},"_$DebugEventSerializer":{"StructuredSerializer":["DebugEvent*"],"Serializer":["DebugEvent*"]},"_$BatchedDebugEventsSerializer":{"StructuredSerializer":["BatchedDebugEvents*"],"Serializer":["BatchedDebugEvents*"]},"_$DebugEvent":{"DebugEvent":[]},"_$BatchedDebugEvents":{"BatchedDebugEvents":[]},"_$DevToolsRequestSerializer":{"StructuredSerializer":["DevToolsRequest*"],"Serializer":["DevToolsRequest*"]},"_$DevToolsResponseSerializer":{"StructuredSerializer":["DevToolsResponse*"],"Serializer":["DevToolsResponse*"]},"_$DevToolsRequest":{"DevToolsRequest":[]},"_$DevToolsResponse":{"DevToolsResponse":[]},"_$ErrorResponseSerializer":{"StructuredSerializer":["ErrorResponse*"],"Serializer":["ErrorResponse*"]},"_$ErrorResponse":{"ErrorResponse":[]},"_$ExtensionRequestSerializer":{"StructuredSerializer":["ExtensionRequest*"],"Serializer":["ExtensionRequest*"]},"_$ExtensionResponseSerializer":{"StructuredSerializer":["ExtensionResponse*"],"Serializer":["ExtensionResponse*"]},"_$ExtensionEventSerializer":{"StructuredSerializer":["ExtensionEvent*"],"Serializer":["ExtensionEvent*"]},"_$BatchedEventsSerializer":{"StructuredSerializer":["BatchedEvents*"],"Serializer":["BatchedEvents*"]},"_$ExtensionRequest":{"ExtensionRequest":[]},"_$ExtensionResponse":{"ExtensionResponse":[]},"_$ExtensionEvent":{"ExtensionEvent":[]},"_$BatchedEvents":{"BatchedEvents":[]},"_$IsolateExitSerializer":{"StructuredSerializer":["IsolateExit*"],"Serializer":["IsolateExit*"]},"_$IsolateStartSerializer":{"StructuredSerializer":["IsolateStart*"],"Serializer":["IsolateStart*"]},"_$IsolateExit":{"IsolateExit":[]},"_$IsolateStart":{"IsolateStart":[]},"_$RegisterEventSerializer":{"StructuredSerializer":["RegisterEvent*"],"Serializer":["RegisterEvent*"]},"_$RegisterEvent":{"RegisterEvent":[]},"_$RunRequestSerializer":{"StructuredSerializer":["RunRequest*"],"Serializer":["RunRequest*"]},"_$RunRequest":{"RunRequest":[]},"SseSocketClient":{"SocketClient":[]},"WebSocketClient":{"SocketClient":[]},"Int64":{"Comparable":["Object"]},"Level":{"Comparable":["Level"]},"SseClient":{"StreamChannel":["String?"]},"GuaranteeChannel":{"StreamChannel":["1"]},"_GuaranteeSink":{"StreamSink":["1"]},"StreamChannelMixin":{"StreamChannel":["1"]},"HtmlWebSocketChannel":{"WebSocketChannel":[],"StreamChannel":["@"]},"_HtmlWebSocketSink":{"WebSocketSink":[],"DelegatingStreamSink":["@"],"StreamSink":["@"],"DelegatingStreamSink.T":"@"},"WebSocketChannel":{"StreamChannel":["@"]},"LegacyRestarter":{"Restarter":[]},"RequireRestarter":{"Restarter":[]},"ByteData":{"TypedData":[]},"Int8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint8ClampedList":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Int16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Int32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Float32List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TypedData":[]},"Float64List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TypedData":[]}}')); + A._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","Promise":"LegacyJavaScriptObject","JsError":"LegacyJavaScriptObject","RequireLoader":"LegacyJavaScriptObject","JsMap":"LegacyJavaScriptObject","AbortPaymentEvent":"Event","ExtendableEvent":"Event","AudioContext":"BaseAudioContext","AbsoluteOrientationSensor":"EventTarget","OrientationSensor":"EventTarget","Sensor":"EventTarget","AElement":"SvgElement","GraphicsElement":"SvgElement","_ResourceProgressEvent":"ProgressEvent","AudioElement":"HtmlElement","MediaElement":"HtmlElement","ShadowRoot":"Node","DocumentFragment":"Node","XmlDocument":"Document","VttCue":"TextTrackCue","CompositionEvent":"UIEvent","DedicatedWorkerGlobalScope":"WorkerGlobalScope","CDataSection":"CharacterData","Text":"CharacterData","HttpRequestUpload":"HttpRequestEventTarget","HtmlFormControlsCollection":"HtmlCollection","CssCharsetRule":"CssRule","CssStyleSheet":"StyleSheet","JSBool":{"bool":[]},"JSNull":{"Null":[]},"LegacyJavaScriptObject":{"JSObject":[],"Promise":["1&"],"JsError":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ArrayIterator":{"Iterator":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"]},"JSString":{"String":[],"Comparable":["String"],"Pattern":[]},"_CastIterableBase":{"Iterable":["2"]},"CastIterator":{"Iterator":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","Iterable.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapMixin":["3","4"],"Map":["3","4"],"MapMixin.K":"3","MapMixin.V":"4"},"CastQueue":{"Queue":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"LateError":{"Error":[]},"ReachabilityError":{"Error":[]},"NotNullableError":{"TypeError":[],"Error":[]},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"ListIterator":{"Iterator":["1"]},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedIterator":{"Iterator":["2"]},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListIterable.E":"2","Iterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereIterator":{"Iterator":["1"]},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterator":{"Iterator":["1"]},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"EmptyIterator":{"Iterator":["1"]},"UnmodifiableListBase":{"ListMixin":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_ConstantMapKeyIterable":{"Iterable":["1"],"Iterable.E":"1"},"JSInvocationMirror":{"Invocation":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Function":[]},"Closure2Args":{"Function":[]},"TearOffClosure":{"Function":[]},"StaticClosure":{"Function":[]},"BoundClosure":{"Function":[]},"RuntimeError":{"Error":[]},"_AssertionError":{"Error":[]},"JsLinkedHashMap":{"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapKeyIterator":{"Iterator":["1"]},"JSSyntaxRegExp":{"RegExp":[],"Pattern":[]},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"_AllMatchesIterator":{"Iterator":["RegExpMatch"]},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"_StringAllMatchesIterator":{"Iterator":["Match"]},"NativeByteBuffer":{"ByteBuffer":[]},"NativeTypedData":{"TypedData":[]},"NativeByteData":{"NativeTypedData":[],"TypedData":[]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"],"NativeTypedData":[],"TypedData":[]},"NativeTypedArrayOfDouble":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"Iterable":["double"],"FixedLengthListMixin":["double"]},"NativeTypedArrayOfInt":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"]},"NativeFloat32List":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"Iterable":["double"],"FixedLengthListMixin":["double"],"ListMixin.E":"double"},"NativeFloat64List":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"NativeTypedData":[],"EfficientLengthIterable":["double"],"TypedData":[],"Iterable":["double"],"FixedLengthListMixin":["double"],"ListMixin.E":"double"},"NativeInt16List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeInt32List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeInt8List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint16List":{"ListMixin":["int"],"Uint16List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint32List":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint8ClampedList":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"NativeUint8List":{"ListMixin":["int"],"Uint8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"NativeTypedData":[],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"ListMixin.E":"int"},"_Type":{"Type":[]},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_Future":{"Future":["1"]},"_TimerImpl":{"Timer":[]},"_AsyncAwaitCompleter":{"Completer":["1"]},"_Completer":{"Completer":["1"]},"_AsyncCompleter":{"_Completer":["1"],"Completer":["1"]},"_SyncCompleter":{"_Completer":["1"],"Completer":["1"]},"StreamTransformerBase":{"StreamTransformer":["1","2"]},"_StreamController":{"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_AsyncStreamController":{"_AsyncStreamControllerDispatch":["1"],"_StreamController":["1"],"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_SyncStreamController":{"_SyncStreamControllerDispatch":["1"],"_StreamController":["1"],"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamSinkWrapper":{"StreamSink":["1"]},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_DelayedData":{"_DelayedEvent":["1"]},"_DelayedError":{"_DelayedEvent":["@"]},"_DelayedDone":{"_DelayedEvent":["@"]},"_StreamImplEvents":{"_PendingEvents":["1"]},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_EventSink":["2"],"_EventDispatch":["2"],"_BufferingStreamSubscription.T":"2"},"_MapStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2"},"_ZoneSpecification":{"ZoneSpecification":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_Zone":{"Zone":[]},"_CustomZone":{"_Zone":[],"Zone":[]},"_RootZone":{"_Zone":[],"Zone":[]},"_SplayTreeSetNode":{"_SplayTreeNode":["1","_SplayTreeSetNode<1>"],"_SplayTreeNode.K":"1","_SplayTreeNode.1":"_SplayTreeSetNode<1>"},"_HashMap":{"MapMixin":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_CustomHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_HashMapKeyIterator":{"Iterator":["1"]},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_HashSetIterator":{"Iterator":["1"]},"_LinkedHashSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedHashSetIterator":{"Iterator":["1"]},"UnmodifiableListView":{"ListMixin":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","UnmodifiableListMixin.E":"1"},"IterableBase":{"Iterable":["1"]},"ListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"MapMixin":{"Map":["1","2"]},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ListQueue":{"ListIterable":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"_ListQueueIterator":{"Iterator":["1"]},"_SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SplayTreeIterator":{"Iterator":["3"]},"_SplayTreeKeyIterator":{"_SplayTreeIterator":["1","2","1"],"Iterator":["1"],"_SplayTreeIterator.1":"2","_SplayTreeIterator.K":"1"},"SplayTreeSet":{"SetMixin":["1"],"Set":["1"],"IterableMixin":["1"],"EfficientLengthIterable":["1"],"_SplayTree":["1","_SplayTreeSetNode<1>"],"Iterable":["1"],"_SplayTree.K":"1","_SplayTree.1":"_SplayTreeSetNode<1>"},"_JsonMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"_JsonMapKeyIterable":{"ListIterable":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ListIterable.E":"String","Iterable.E":"String"},"Base64Codec":{"Codec":["List","String"],"Codec.S":"List"},"Base64Encoder":{"Converter":["List","String"],"StreamTransformer":["List","String"]},"Converter":{"StreamTransformer":["1","2"]},"Encoding":{"Codec":["String","List"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"],"Codec.S":"Object?"},"JsonEncoder":{"Converter":["Object?","String"],"StreamTransformer":["Object?","String"]},"JsonDecoder":{"Converter":["String","Object?"],"StreamTransformer":["String","Object?"]},"Utf8Codec":{"Codec":["String","List"],"Codec.S":"String"},"Utf8Encoder":{"Converter":["String","List"],"StreamTransformer":["String","List"]},"BigInt":{"Comparable":["BigInt"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExp":{"Pattern":[]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"],"Pattern":[]},"_BigIntImpl":{"BigInt":[],"Comparable":["BigInt"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"NullThrownError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"CyclicInitializationError":{"Error":[]},"IntegerDivisionByZeroException":{"Error":[]},"_StringStackTrace":{"StackTrace":[]},"StringBuffer":{"StringSink":[]},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"CloseEvent":{"Event":[]},"Element":{"Node":[],"EventTarget":[]},"File":{"Blob":[]},"HttpRequest":{"EventTarget":[]},"KeyboardEvent":{"Event":[]},"MessageEvent":{"Event":[]},"Node":{"EventTarget":[]},"ProgressEvent":{"Event":[]},"ScriptElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"SourceBuffer":{"EventTarget":[]},"TextTrack":{"EventTarget":[]},"TextTrackCue":{"EventTarget":[]},"_Html5NodeValidator":{"NodeValidator":[]},"HtmlElement":{"Element":[],"Node":[],"EventTarget":[]},"AnchorElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"AreaElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"BaseElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"BodyElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"CharacterData":{"Node":[],"EventTarget":[]},"CustomEvent":{"Event":[]},"Document":{"Node":[],"EventTarget":[]},"DomRectList":{"ListMixin":["Rectangle"],"ImmutableListMixin":["Rectangle"],"List":["Rectangle"],"JavaScriptIndexingBehavior":["Rectangle"],"EfficientLengthIterable":["Rectangle"],"Iterable":["Rectangle"],"ImmutableListMixin.E":"Rectangle","ListMixin.E":"Rectangle"},"DomRectReadOnly":{"Rectangle":["num"]},"DomStringList":{"ListMixin":["String"],"ImmutableListMixin":["String"],"List":["String"],"JavaScriptIndexingBehavior":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ImmutableListMixin.E":"String","ListMixin.E":"String"},"_FrozenElementList":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"EventSource":{"EventTarget":[]},"FileList":{"ListMixin":["File"],"ImmutableListMixin":["File"],"List":["File"],"JavaScriptIndexingBehavior":["File"],"EfficientLengthIterable":["File"],"Iterable":["File"],"ImmutableListMixin.E":"File","ListMixin.E":"File"},"FileWriter":{"EventTarget":[]},"FormElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"HtmlCollection":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"HtmlDocument":{"Document":[],"Node":[],"EventTarget":[]},"HttpRequestEventTarget":{"EventTarget":[]},"MessagePort":{"EventTarget":[]},"MidiInputMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"MidiOutputMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"MimeTypeArray":{"ListMixin":["MimeType"],"ImmutableListMixin":["MimeType"],"List":["MimeType"],"JavaScriptIndexingBehavior":["MimeType"],"EfficientLengthIterable":["MimeType"],"Iterable":["MimeType"],"ImmutableListMixin.E":"MimeType","ListMixin.E":"MimeType"},"_ChildNodeListLazy":{"ListMixin":["Node"],"List":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ListMixin.E":"Node"},"NodeList":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"PluginArray":{"ListMixin":["Plugin"],"ImmutableListMixin":["Plugin"],"List":["Plugin"],"JavaScriptIndexingBehavior":["Plugin"],"EfficientLengthIterable":["Plugin"],"Iterable":["Plugin"],"ImmutableListMixin.E":"Plugin","ListMixin.E":"Plugin"},"RtcStatsReport":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"SelectElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"SourceBufferList":{"ListMixin":["SourceBuffer"],"ImmutableListMixin":["SourceBuffer"],"EventTarget":[],"List":["SourceBuffer"],"JavaScriptIndexingBehavior":["SourceBuffer"],"EfficientLengthIterable":["SourceBuffer"],"Iterable":["SourceBuffer"],"ImmutableListMixin.E":"SourceBuffer","ListMixin.E":"SourceBuffer"},"SpeechGrammarList":{"ListMixin":["SpeechGrammar"],"ImmutableListMixin":["SpeechGrammar"],"List":["SpeechGrammar"],"JavaScriptIndexingBehavior":["SpeechGrammar"],"EfficientLengthIterable":["SpeechGrammar"],"Iterable":["SpeechGrammar"],"ImmutableListMixin.E":"SpeechGrammar","ListMixin.E":"SpeechGrammar"},"Storage":{"MapMixin":["String","String"],"Map":["String","String"],"MapMixin.K":"String","MapMixin.V":"String"},"TableElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"TableRowElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"TableSectionElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"TemplateElement":{"HtmlElement":[],"Element":[],"Node":[],"EventTarget":[]},"TextTrackCueList":{"ListMixin":["TextTrackCue"],"ImmutableListMixin":["TextTrackCue"],"List":["TextTrackCue"],"JavaScriptIndexingBehavior":["TextTrackCue"],"EfficientLengthIterable":["TextTrackCue"],"Iterable":["TextTrackCue"],"ImmutableListMixin.E":"TextTrackCue","ListMixin.E":"TextTrackCue"},"TextTrackList":{"ListMixin":["TextTrack"],"ImmutableListMixin":["TextTrack"],"EventTarget":[],"List":["TextTrack"],"JavaScriptIndexingBehavior":["TextTrack"],"EfficientLengthIterable":["TextTrack"],"Iterable":["TextTrack"],"ImmutableListMixin.E":"TextTrack","ListMixin.E":"TextTrack"},"TouchList":{"ListMixin":["Touch"],"ImmutableListMixin":["Touch"],"List":["Touch"],"JavaScriptIndexingBehavior":["Touch"],"EfficientLengthIterable":["Touch"],"Iterable":["Touch"],"ImmutableListMixin.E":"Touch","ListMixin.E":"Touch"},"UIEvent":{"Event":[]},"VideoTrackList":{"EventTarget":[]},"WebSocket":{"EventTarget":[]},"Window":{"EventTarget":[]},"WorkerGlobalScope":{"EventTarget":[]},"_Attr":{"Node":[],"EventTarget":[]},"_CssRuleList":{"ListMixin":["CssRule"],"ImmutableListMixin":["CssRule"],"List":["CssRule"],"JavaScriptIndexingBehavior":["CssRule"],"EfficientLengthIterable":["CssRule"],"Iterable":["CssRule"],"ImmutableListMixin.E":"CssRule","ListMixin.E":"CssRule"},"_DomRect":{"Rectangle":["num"]},"_GamepadList":{"ListMixin":["Gamepad?"],"ImmutableListMixin":["Gamepad?"],"List":["Gamepad?"],"JavaScriptIndexingBehavior":["Gamepad?"],"EfficientLengthIterable":["Gamepad?"],"Iterable":["Gamepad?"],"ImmutableListMixin.E":"Gamepad?","ListMixin.E":"Gamepad?"},"_NamedNodeMap":{"ListMixin":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListMixin.E":"Node"},"_SpeechRecognitionResultList":{"ListMixin":["SpeechRecognitionResult"],"ImmutableListMixin":["SpeechRecognitionResult"],"List":["SpeechRecognitionResult"],"JavaScriptIndexingBehavior":["SpeechRecognitionResult"],"EfficientLengthIterable":["SpeechRecognitionResult"],"Iterable":["SpeechRecognitionResult"],"ImmutableListMixin.E":"SpeechRecognitionResult","ListMixin.E":"SpeechRecognitionResult"},"_StyleSheetList":{"ListMixin":["StyleSheet"],"ImmutableListMixin":["StyleSheet"],"List":["StyleSheet"],"JavaScriptIndexingBehavior":["StyleSheet"],"EfficientLengthIterable":["StyleSheet"],"Iterable":["StyleSheet"],"ImmutableListMixin.E":"StyleSheet","ListMixin.E":"StyleSheet"},"_AttributeMap":{"MapMixin":["String","String"],"Map":["String","String"]},"_ElementAttributeMap":{"MapMixin":["String","String"],"Map":["String","String"],"MapMixin.K":"String","MapMixin.V":"String"},"_EventStream":{"Stream":["1"],"Stream.T":"1"},"_EventStreamSubscription":{"StreamSubscription":["1"]},"NodeValidatorBuilder":{"NodeValidator":[]},"_SimpleNodeValidator":{"NodeValidator":[]},"_TemplatingNodeValidator":{"NodeValidator":[]},"_SvgNodeValidator":{"NodeValidator":[]},"FixedSizeListIterator":{"Iterator":["1"]},"_DOMWindowCrossFrame":{"EventTarget":[]},"_SameOriginUriPolicy":{"UriPolicy":[]},"_ValidatingTreeSanitizer":{"NodeTreeSanitizer":[]},"JsFunction":{"JsObject":[]},"JsArray":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"JsObject":[],"Iterable":["1"],"ListMixin.E":"1"},"LengthList":{"ListMixin":["Length"],"ImmutableListMixin":["Length"],"List":["Length"],"EfficientLengthIterable":["Length"],"Iterable":["Length"],"ImmutableListMixin.E":"Length","ListMixin.E":"Length"},"NumberList":{"ListMixin":["Number"],"ImmutableListMixin":["Number"],"List":["Number"],"EfficientLengthIterable":["Number"],"Iterable":["Number"],"ImmutableListMixin.E":"Number","ListMixin.E":"Number"},"ScriptElement0":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[]},"StringList":{"ListMixin":["String"],"ImmutableListMixin":["String"],"List":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ImmutableListMixin.E":"String","ListMixin.E":"String"},"SvgElement":{"Element":[],"Node":[],"EventTarget":[]},"TransformList":{"ListMixin":["Transform"],"ImmutableListMixin":["Transform"],"List":["Transform"],"EfficientLengthIterable":["Transform"],"Iterable":["Transform"],"ImmutableListMixin.E":"Transform","ListMixin.E":"Transform"},"AudioParamMap":{"MapMixin":["String","@"],"Map":["String","@"],"MapMixin.K":"String","MapMixin.V":"@"},"AudioTrackList":{"EventTarget":[]},"BaseAudioContext":{"EventTarget":[]},"OfflineAudioContext":{"EventTarget":[]},"DelegatingStreamSink":{"StreamSink":["1"]},"ErrorResult":{"Result":["0&"]},"ValueResult":{"Result":["1"]},"_NextRequest":{"_EventRequest":["1"]},"_HasNextRequest":{"_EventRequest":["1"]},"CopyOnWriteList":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"BuiltList":{"Iterable":["1"]},"_BuiltList":{"BuiltList":["1"],"Iterable":["1"]},"_BuiltListMultimap":{"BuiltListMultimap":["1","2"]},"_BuiltMap":{"BuiltMap":["1","2"]},"BuiltSet":{"Iterable":["1"]},"_BuiltSet":{"BuiltSet":["1"],"Iterable":["1"]},"_BuiltSetMultimap":{"BuiltSetMultimap":["1","2"]},"BuiltValueNullFieldError":{"Error":[]},"BuiltValueNestedFieldError":{"Error":[]},"BoolJsonObject":{"JsonObject":[]},"ListJsonObject":{"JsonObject":[]},"MapJsonObject":{"JsonObject":[]},"NumJsonObject":{"JsonObject":[]},"StringJsonObject":{"JsonObject":[]},"DeserializationError":{"Error":[]},"BigIntSerializer":{"PrimitiveSerializer":["BigInt"],"Serializer":["BigInt"]},"BoolSerializer":{"PrimitiveSerializer":["bool"],"Serializer":["bool"]},"BuiltJsonSerializers":{"Serializers":[]},"BuiltListMultimapSerializer":{"StructuredSerializer":["BuiltListMultimap<@,@>"],"Serializer":["BuiltListMultimap<@,@>"]},"BuiltListSerializer":{"StructuredSerializer":["BuiltList<@>"],"Serializer":["BuiltList<@>"]},"BuiltMapSerializer":{"StructuredSerializer":["BuiltMap<@,@>"],"Serializer":["BuiltMap<@,@>"]},"BuiltSetMultimapSerializer":{"StructuredSerializer":["BuiltSetMultimap<@,@>"],"Serializer":["BuiltSetMultimap<@,@>"]},"BuiltSetSerializer":{"StructuredSerializer":["BuiltSet<@>"],"Serializer":["BuiltSet<@>"]},"DateTimeSerializer":{"PrimitiveSerializer":["DateTime"],"Serializer":["DateTime"]},"DoubleSerializer":{"PrimitiveSerializer":["double"],"Serializer":["double"]},"DurationSerializer":{"PrimitiveSerializer":["Duration"],"Serializer":["Duration"]},"Int64Serializer":{"PrimitiveSerializer":["Int64"],"Serializer":["Int64"]},"IntSerializer":{"PrimitiveSerializer":["int"],"Serializer":["int"]},"JsonObjectSerializer":{"PrimitiveSerializer":["JsonObject"],"Serializer":["JsonObject"]},"NullSerializer":{"PrimitiveSerializer":["Null"],"Serializer":["Null"]},"NumSerializer":{"PrimitiveSerializer":["num"],"Serializer":["num"]},"RegExpSerializer":{"PrimitiveSerializer":["RegExp"],"Serializer":["RegExp"]},"StringSerializer":{"PrimitiveSerializer":["String"],"Serializer":["String"]},"UriSerializer":{"PrimitiveSerializer":["Uri"],"Serializer":["Uri"]},"DefaultEquality":{"Equality":["1"]},"IterableEquality":{"Equality":["Iterable<1>"]},"ListEquality":{"Equality":["List<1>"]},"_UnorderedEquality":{"Equality":["2"]},"SetEquality":{"_UnorderedEquality":["1","Set<1>"],"Equality":["Set<1>"],"_UnorderedEquality.E":"1","_UnorderedEquality.T":"Set<1>"},"MapEquality":{"Equality":["Map<1,2>"]},"DeepCollectionEquality":{"Equality":["@"]},"QueueList":{"ListMixin":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","QueueList.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListMixin":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","QueueList.E":"2"},"_$BuildStatusSerializer":{"PrimitiveSerializer":["BuildStatus"],"Serializer":["BuildStatus"]},"_$BuildResultSerializer":{"StructuredSerializer":["BuildResult"],"Serializer":["BuildResult"]},"_$BuildResult":{"BuildResult":[]},"_$ConnectRequestSerializer":{"StructuredSerializer":["ConnectRequest"],"Serializer":["ConnectRequest"]},"_$ConnectRequest":{"ConnectRequest":[]},"_$DebugEventSerializer":{"StructuredSerializer":["DebugEvent"],"Serializer":["DebugEvent"]},"_$BatchedDebugEventsSerializer":{"StructuredSerializer":["BatchedDebugEvents"],"Serializer":["BatchedDebugEvents"]},"_$DebugEvent":{"DebugEvent":[]},"_$BatchedDebugEvents":{"BatchedDebugEvents":[]},"_$DevToolsRequestSerializer":{"StructuredSerializer":["DevToolsRequest"],"Serializer":["DevToolsRequest"]},"_$DevToolsResponseSerializer":{"StructuredSerializer":["DevToolsResponse"],"Serializer":["DevToolsResponse"]},"_$DevToolsRequest":{"DevToolsRequest":[]},"_$DevToolsResponse":{"DevToolsResponse":[]},"_$ErrorResponseSerializer":{"StructuredSerializer":["ErrorResponse"],"Serializer":["ErrorResponse"]},"_$ErrorResponse":{"ErrorResponse":[]},"_$ExtensionRequestSerializer":{"StructuredSerializer":["ExtensionRequest"],"Serializer":["ExtensionRequest"]},"_$ExtensionResponseSerializer":{"StructuredSerializer":["ExtensionResponse"],"Serializer":["ExtensionResponse"]},"_$ExtensionEventSerializer":{"StructuredSerializer":["ExtensionEvent"],"Serializer":["ExtensionEvent"]},"_$BatchedEventsSerializer":{"StructuredSerializer":["BatchedEvents"],"Serializer":["BatchedEvents"]},"_$ExtensionRequest":{"ExtensionRequest":[]},"_$ExtensionResponse":{"ExtensionResponse":[]},"_$ExtensionEvent":{"ExtensionEvent":[]},"_$BatchedEvents":{"BatchedEvents":[]},"_$IsolateExitSerializer":{"StructuredSerializer":["IsolateExit"],"Serializer":["IsolateExit"]},"_$IsolateStartSerializer":{"StructuredSerializer":["IsolateStart"],"Serializer":["IsolateStart"]},"_$IsolateExit":{"IsolateExit":[]},"_$IsolateStart":{"IsolateStart":[]},"_$RegisterEventSerializer":{"StructuredSerializer":["RegisterEvent"],"Serializer":["RegisterEvent"]},"_$RegisterEvent":{"RegisterEvent":[]},"_$RunRequestSerializer":{"StructuredSerializer":["RunRequest"],"Serializer":["RunRequest"]},"_$RunRequest":{"RunRequest":[]},"SseSocketClient":{"SocketClient":[]},"WebSocketClient":{"SocketClient":[]},"Int64":{"Comparable":["Object"]},"Level":{"Comparable":["Level"]},"SseClient":{"StreamChannel":["String?"]},"GuaranteeChannel":{"StreamChannel":["1"]},"_GuaranteeSink":{"StreamSink":["1"]},"StreamChannelMixin":{"StreamChannel":["1"]},"HtmlWebSocketChannel":{"WebSocketChannel":[],"StreamChannel":["@"]},"_HtmlWebSocketSink":{"WebSocketSink":[],"DelegatingStreamSink":["@"],"StreamSink":["@"],"DelegatingStreamSink.T":"@"},"WebSocketChannel":{"StreamChannel":["@"]},"LegacyRestarter":{"Restarter":[]},"RequireRestarter":{"Restarter":[]},"ByteData":{"TypedData":[]},"Int8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint8ClampedList":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Int16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Int32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TypedData":[]},"Float32List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TypedData":[]},"Float64List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TypedData":[]}}')); A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"NativeTypedArray":1,"StreamTransformerBase":2,"IterableBase":1,"ListBase":1,"MapBase":2,"_ListBase_Object_ListMixin":1,"_SplayTreeSet__SplayTree_IterableMixin":1,"_SplayTreeSet__SplayTree_IterableMixin_SetMixin":1,"__SetBase_Object_SetMixin":1,"MapEntry":2,"_JsArray_JsObject_ListMixin":1,"_QueueList_Object_ListMixin":1,"StreamChannelMixin":1}')); var string$ = { Error_: "Error handler must accept one Object or one Object and a StackTrace as arguments, and return a value of the returned future's type", @@ -25384,28 +25645,41 @@ return { AsyncError: findType("AsyncError"), BaseElement: findType("BaseElement"), + BatchedDebugEvents: findType("BatchedDebugEvents"), + BatchedEvents: findType("BatchedEvents"), BatchedStreamController_legacy_DebugEvent: findType("BatchedStreamController"), BigInt: findType("BigInt"), Blob: findType("Blob"), BodyElement: findType("BodyElement"), + BuildResult: findType("BuildResult"), + BuildStatus: findType("BuildStatus"), BuiltListMultimap_dynamic_dynamic: findType("BuiltListMultimap<@,@>"), BuiltList_dynamic: findType("BuiltList<@>"), + BuiltList_nullable_Object: findType("BuiltList"), BuiltMap_dynamic_dynamic: findType("BuiltMap<@,@>"), BuiltSetMultimap_dynamic_dynamic: findType("BuiltSetMultimap<@,@>"), BuiltSet_dynamic: findType("BuiltSet<@>"), ByteBuffer: findType("ByteBuffer"), CloseEvent: findType("CloseEvent"), Comparable_dynamic: findType("Comparable<@>"), + ConnectRequest: findType("ConnectRequest"), ConstantMapView_Symbol_dynamic: findType("ConstantMapView"), CssRule: findType("CssRule"), CustomEvent: findType("CustomEvent"), DateTime: findType("DateTime"), + DebugEvent: findType("DebugEvent"), + DevToolsRequest: findType("DevToolsRequest"), + DevToolsResponse: findType("DevToolsResponse"), Document: findType("Document"), Duration: findType("Duration"), EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"), Element: findType("Element"), Error: findType("Error"), + ErrorResponse: findType("ErrorResponse"), Event: findType("Event"), + ExtensionEvent: findType("ExtensionEvent"), + ExtensionRequest: findType("ExtensionRequest"), + ExtensionResponse: findType("ExtensionResponse"), File: findType("File"), FileList: findType("FileList"), FullType: findType("FullType"), @@ -25415,6 +25689,8 @@ ImageData: findType("ImageData"), Int64: findType("Int64"), Invocation: findType("Invocation"), + IsolateExit: findType("IsolateExit"), + IsolateStart: findType("IsolateStart"), IterableEquality_dynamic: findType("IterableEquality<@>"), Iterable_Node: findType("Iterable"), Iterable_dynamic: findType("Iterable<@>"), @@ -25425,7 +25701,6 @@ JSArray_dynamic: findType("JSArray<@>"), JSArray_int: findType("JSArray"), JSArray_legacy_FullType: findType("JSArray"), - JSArray_legacy_Object: findType("JSArray"), JSArray_legacy_String: findType("JSArray"), JSArray_legacy_Type: findType("JSArray"), JSArray_legacy_int: findType("JSArray"), @@ -25440,14 +25715,14 @@ KeyRange: findType("KeyRange"), Length: findType("Length"), Level: findType("Level"), + ListBuilder_DebugEvent: findType("ListBuilder"), + ListBuilder_ExtensionEvent: findType("ListBuilder"), ListBuilder_dynamic: findType("ListBuilder<@>"), - ListBuilder_legacy_DebugEvent: findType("ListBuilder"), - ListBuilder_legacy_ExtensionEvent: findType("ListBuilder"), ListEquality_dynamic: findType("ListEquality<@>"), ListMultimapBuilder_dynamic_dynamic: findType("ListMultimapBuilder<@,@>"), + List_DebugEvent: findType("List"), + List_ExtensionEvent: findType("List"), List_dynamic: findType("List<@>"), - List_legacy_DebugEvent: findType("List"), - List_legacy_ExtensionEvent: findType("List"), List_nullable_Object: findType("List"), Logger: findType("Logger"), MapBuilder_dynamic_dynamic: findType("MapBuilder<@,@>"), @@ -25473,7 +25748,9 @@ QueueList_Result_legacy_DebugEvent: findType("QueueList>"), Rectangle_num: findType("Rectangle"), RegExp: findType("RegExp"), + RegisterEvent: findType("RegisterEvent"), ReversedListIterable_String: findType("ReversedListIterable"), + RunRequest: findType("RunRequest"), ScriptElement: findType("ScriptElement0"), SerializerPlugin: findType("SerializerPlugin"), Serializer_dynamic: findType("Serializer<@>"), @@ -25546,32 +25823,15 @@ dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"), dynamic_Function_dynamic_dynamic: findType("@(@,@)"), int: findType("int"), - legacy_BatchedDebugEvents: findType("BatchedDebugEvents*"), - legacy_BatchedEvents: findType("BatchedEvents*"), - legacy_BuildResult: findType("BuildResult*"), - legacy_BuildStatus: findType("BuildStatus*"), - legacy_BuiltList_legacy_Object: findType("BuiltList*"), legacy_Completer_legacy_bool: findType("Completer*"), - legacy_ConnectRequest: findType("ConnectRequest*"), legacy_DebugEvent: findType("DebugEvent*"), - legacy_DevToolsRequest: findType("DevToolsRequest*"), - legacy_DevToolsResponse: findType("DevToolsResponse*"), legacy_Element: findType("Element*"), - legacy_ErrorResponse: findType("ErrorResponse*"), legacy_Event: findType("Event*"), - legacy_ExtensionEvent: findType("ExtensionEvent*"), - legacy_ExtensionRequest: findType("ExtensionRequest*"), - legacy_ExtensionResponse: findType("ExtensionResponse*"), legacy_Future_void: findType("Future<~>*"), legacy_HtmlElement: findType("HtmlElement*"), - legacy_IsolateExit: findType("IsolateExit*"), - legacy_IsolateStart: findType("IsolateStart*"), - legacy_Iterable_legacy_Object: findType("Iterable*"), legacy_JsError: findType("JsError*"), legacy_JsObject: findType("JsObject*"), legacy_KeyboardEvent: findType("KeyboardEvent*"), - legacy_ListBuilder_legacy_DebugEvent: findType("ListBuilder*"), - legacy_ListBuilder_legacy_ExtensionEvent: findType("ListBuilder*"), legacy_List_legacy_DebugEvent: findType("List*"), legacy_List_legacy_String: findType("List*"), legacy_Map_dynamic_dynamic: findType("Map<@,@>*"), @@ -25581,9 +25841,7 @@ legacy_Object: findType("Object*"), legacy_ProgressEvent: findType("ProgressEvent*"), legacy_Promise_void: findType("Promise<1&>*"), - legacy_RegisterEvent: findType("RegisterEvent*"), legacy_RequireRestarter: findType("RequireRestarter*"), - legacy_RunRequest: findType("RunRequest*"), legacy_SplayTreeSet_legacy_String: findType("SplayTreeSet*"), legacy_StackTrace: findType("StackTrace*"), legacy_String: findType("String*"), @@ -25596,17 +25854,12 @@ legacy_void_Function: findType("~()*"), legacy_void_Function_2_legacy_String_and_legacy_String: findType("~(String*,String*)*"), legacy_void_Function_dynamic: findType("~(@)*"), - legacy_void_Function_legacy_BatchedDebugEventsBuilder: findType("~(BatchedDebugEventsBuilder*)*"), - legacy_void_Function_legacy_ConnectRequestBuilder: findType("~(ConnectRequestBuilder*)*"), - legacy_void_Function_legacy_DebugEventBuilder: findType("~(DebugEventBuilder*)*"), - legacy_void_Function_legacy_DevToolsRequestBuilder: findType("~(DevToolsRequestBuilder*)*"), - legacy_void_Function_legacy_IsolateExitBuilder: findType("~(IsolateExitBuilder*)*"), - legacy_void_Function_legacy_IsolateStartBuilder: findType("~(IsolateStartBuilder*)*"), legacy_void_Function_legacy_JsError: findType("~(JsError*)*"), - legacy_void_Function_legacy_RegisterEventBuilder: findType("~(RegisterEventBuilder*)*"), legacy_void_Function_legacy_String: findType("~(String*)*"), nullable_Future_Null: findType("Future?"), nullable_Gamepad: findType("Gamepad?"), + nullable_ListBuilder_DebugEvent: findType("ListBuilder?"), + nullable_ListBuilder_ExtensionEvent: findType("ListBuilder?"), nullable_List_dynamic: findType("List<@>?"), nullable_Map_of_nullable_Object_and_nullable_Object: findType("Map?"), nullable_Object: findType("Object?"), @@ -25623,6 +25876,13 @@ nullable_nullable_Object_Function_2_nullable_Object_and_nullable_Object: findType("Object?(Object?,Object?)?"), nullable_nullable_Object_Function_dynamic: findType("Object?(@)?"), nullable_void_Function: findType("~()?"), + nullable_void_Function_BatchedDebugEventsBuilder: findType("~(BatchedDebugEventsBuilder)?"), + nullable_void_Function_ConnectRequestBuilder: findType("~(ConnectRequestBuilder)?"), + nullable_void_Function_DebugEventBuilder: findType("~(DebugEventBuilder)?"), + nullable_void_Function_DevToolsRequestBuilder: findType("~(DevToolsRequestBuilder)?"), + nullable_void_Function_IsolateExitBuilder: findType("~(IsolateExitBuilder)?"), + nullable_void_Function_IsolateStartBuilder: findType("~(IsolateStartBuilder)?"), + nullable_void_Function_RegisterEventBuilder: findType("~(RegisterEventBuilder)?"), nullable_void_Function_legacy_Event: findType("~(Event*)?"), nullable_void_Function_legacy_KeyboardEvent: findType("~(KeyboardEvent*)?"), nullable_void_Function_legacy_MessageEvent: findType("~(MessageEvent*)?"), @@ -26058,24 +26318,24 @@ _lazyFinal($, "isSoundMode", "$get$isSoundMode", () => !A.findType("List")._is(A._setArrayType([], A.findType("JSArray")))); _lazy($, "newBuiltValueToStringHelper", "$get$newBuiltValueToStringHelper", () => new A.newBuiltValueToStringHelper_closure()); _lazyFinal($, "_runtimeType", "$get$_runtimeType", () => A.getRuntimeType(A.RegExp_RegExp("", true, false))); - _lazyOld($, "_$buildStatusSerializer", "$get$_$buildStatusSerializer", () => new A._$BuildStatusSerializer()); - _lazyOld($, "_$buildResultSerializer", "$get$_$buildResultSerializer", () => new A._$BuildResultSerializer()); - _lazyOld($, "_$connectRequestSerializer", "$get$_$connectRequestSerializer", () => new A._$ConnectRequestSerializer()); - _lazyOld($, "_$debugEventSerializer", "$get$_$debugEventSerializer", () => new A._$DebugEventSerializer()); - _lazyOld($, "_$batchedDebugEventsSerializer", "$get$_$batchedDebugEventsSerializer", () => new A._$BatchedDebugEventsSerializer()); - _lazyOld($, "_$devToolsRequestSerializer", "$get$_$devToolsRequestSerializer", () => new A._$DevToolsRequestSerializer()); - _lazyOld($, "_$devToolsResponseSerializer", "$get$_$devToolsResponseSerializer", () => new A._$DevToolsResponseSerializer()); - _lazyOld($, "_$errorResponseSerializer", "$get$_$errorResponseSerializer", () => new A._$ErrorResponseSerializer()); - _lazyOld($, "_$extensionRequestSerializer", "$get$_$extensionRequestSerializer", () => new A._$ExtensionRequestSerializer()); - _lazyOld($, "_$extensionResponseSerializer", "$get$_$extensionResponseSerializer", () => new A._$ExtensionResponseSerializer()); - _lazyOld($, "_$extensionEventSerializer", "$get$_$extensionEventSerializer", () => new A._$ExtensionEventSerializer()); - _lazyOld($, "_$batchedEventsSerializer", "$get$_$batchedEventsSerializer", () => new A._$BatchedEventsSerializer()); - _lazyOld($, "_$isolateExitSerializer", "$get$_$isolateExitSerializer", () => new A._$IsolateExitSerializer()); - _lazyOld($, "_$isolateStartSerializer", "$get$_$isolateStartSerializer", () => new A._$IsolateStartSerializer()); - _lazyOld($, "_$registerEventSerializer", "$get$_$registerEventSerializer", () => new A._$RegisterEventSerializer()); - _lazyOld($, "_$runRequestSerializer", "$get$_$runRequestSerializer", () => new A._$RunRequestSerializer()); - _lazyOld($, "serializers", "$get$serializers", () => $.$get$_$serializers()); - _lazyOld($, "_$serializers", "$get$_$serializers", () => { + _lazy($, "_$buildStatusSerializer", "$get$_$buildStatusSerializer", () => new A._$BuildStatusSerializer()); + _lazy($, "_$buildResultSerializer", "$get$_$buildResultSerializer", () => new A._$BuildResultSerializer()); + _lazy($, "_$connectRequestSerializer", "$get$_$connectRequestSerializer", () => new A._$ConnectRequestSerializer()); + _lazy($, "_$debugEventSerializer", "$get$_$debugEventSerializer", () => new A._$DebugEventSerializer()); + _lazy($, "_$batchedDebugEventsSerializer", "$get$_$batchedDebugEventsSerializer", () => new A._$BatchedDebugEventsSerializer()); + _lazy($, "_$devToolsRequestSerializer", "$get$_$devToolsRequestSerializer", () => new A._$DevToolsRequestSerializer()); + _lazy($, "_$devToolsResponseSerializer", "$get$_$devToolsResponseSerializer", () => new A._$DevToolsResponseSerializer()); + _lazy($, "_$errorResponseSerializer", "$get$_$errorResponseSerializer", () => new A._$ErrorResponseSerializer()); + _lazy($, "_$extensionRequestSerializer", "$get$_$extensionRequestSerializer", () => new A._$ExtensionRequestSerializer()); + _lazy($, "_$extensionResponseSerializer", "$get$_$extensionResponseSerializer", () => new A._$ExtensionResponseSerializer()); + _lazy($, "_$extensionEventSerializer", "$get$_$extensionEventSerializer", () => new A._$ExtensionEventSerializer()); + _lazy($, "_$batchedEventsSerializer", "$get$_$batchedEventsSerializer", () => new A._$BatchedEventsSerializer()); + _lazy($, "_$isolateExitSerializer", "$get$_$isolateExitSerializer", () => new A._$IsolateExitSerializer()); + _lazy($, "_$isolateStartSerializer", "$get$_$isolateStartSerializer", () => new A._$IsolateStartSerializer()); + _lazy($, "_$registerEventSerializer", "$get$_$registerEventSerializer", () => new A._$RegisterEventSerializer()); + _lazy($, "_$runRequestSerializer", "$get$_$runRequestSerializer", () => new A._$RunRequestSerializer()); + _lazyFinal($, "serializers", "$get$serializers", () => $.$get$_$serializers()); + _lazy($, "_$serializers", "$get$_$serializers", () => { var t1 = A.Serializers_Serializers(); t1 = A.BuiltJsonSerializersBuilder$_(t1._typeToSerializer.toBuilder$0(), t1._wireNameToSerializer.toBuilder$0(), t1._typeNameToSerializer.toBuilder$0(), t1.builderFactories.toBuilder$0(), t1.serializerPlugins.toBuilder$0()); t1.add$1(0, $.$get$_$batchedDebugEventsSerializer()); From 97311c3f0e32bfb2b4e8f35e49cc04c6bcb3bbd1 Mon Sep 17 00:00:00 2001 From: Anna Gringauze Date: Fri, 13 May 2022 17:38:02 -0700 Subject: [PATCH 2/9] Updated changelog, versions, and built --- dwds/CHANGELOG.md | 3 +++ dwds/lib/src/version.dart | 2 +- dwds/pubspec.yaml | 2 +- webdev/CHANGELOG.md | 2 ++ webdev/lib/src/version.dart | 2 +- webdev/pubspec.yaml | 8 ++++---- 6 files changed, 12 insertions(+), 7 deletions(-) diff --git a/dwds/CHANGELOG.md b/dwds/CHANGELOG.md index fa60ebeee..3948ec72a 100644 --- a/dwds/CHANGELOG.md +++ b/dwds/CHANGELOG.md @@ -1,3 +1,6 @@ +## 14.0.3-dev +- Make data types null safe + ## 14.0.2 - Update the min SDK constraint to 2.17.0. diff --git a/dwds/lib/src/version.dart b/dwds/lib/src/version.dart index 859aa1994..45b0b4513 100644 --- a/dwds/lib/src/version.dart +++ b/dwds/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '14.0.2'; +const packageVersion = '14.0.3-dev'; diff --git a/dwds/pubspec.yaml b/dwds/pubspec.yaml index 688c32adb..608505a5a 100644 --- a/dwds/pubspec.yaml +++ b/dwds/pubspec.yaml @@ -1,6 +1,6 @@ name: dwds # Every time this changes you need to run `dart run build_runner build`. -version: 14.0.2 +version: 14.0.3-dev description: >- A service that proxies between the Chrome debug protocol and the Dart VM service protocol. diff --git a/webdev/CHANGELOG.md b/webdev/CHANGELOG.md index 978cd21aa..c888a9c78 100644 --- a/webdev/CHANGELOG.md +++ b/webdev/CHANGELOG.md @@ -1,3 +1,5 @@ +## 2.7.10-dev + ## 2.7.9 - Add an option to pass user data directory to chrome: `user-data-dir`. Auto detect user data directory based on the current OS if `auto` is diff --git a/webdev/lib/src/version.dart b/webdev/lib/src/version.dart index f07f27aee..755244213 100644 --- a/webdev/lib/src/version.dart +++ b/webdev/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '2.7.9'; +const packageVersion = '2.7.10-dev'; diff --git a/webdev/pubspec.yaml b/webdev/pubspec.yaml index a43be7860..98c586897 100644 --- a/webdev/pubspec.yaml +++ b/webdev/pubspec.yaml @@ -1,6 +1,6 @@ name: webdev # Every time this changes you need to run `dart run build_runner build`. -version: 2.7.9 +version: 2.7.10-dev # We should not depend on a dev SDK before publishing. # publish_to: none description: >- @@ -48,9 +48,9 @@ dev_dependencies: webdriver: ^3.0.0 # Comment out before releasing webdev. -# dependency_overrides: -# dwds: -# path: ../dwds +dependency_overrides: + dwds: + path: ../dwds executables: webdev: From 2bd3b20a9a77cb23a3760a8064301f31d058c4b8 Mon Sep 17 00:00:00 2001 From: Anna Gringauze Date: Fri, 13 May 2022 17:55:39 -0700 Subject: [PATCH 3/9] Pull null safe dependencies, disable analyzer warning on generated files --- dwds/analysis_options.yaml | 8 +++++ dwds/pubspec.yaml | 68 +++++++++++++++++++------------------- webdev/pubspec.yaml | 48 +++++++++++++-------------- 3 files changed, 66 insertions(+), 58 deletions(-) create mode 100644 dwds/analysis_options.yaml diff --git a/dwds/analysis_options.yaml b/dwds/analysis_options.yaml new file mode 100644 index 000000000..499a926e7 --- /dev/null +++ b/dwds/analysis_options.yaml @@ -0,0 +1,8 @@ +# This file contains the analysis options used for code in the flutter/flutter +# repository. + +analyzer: + exclude: + # Ignore generated files + - "lib/data/*" + diff --git a/dwds/pubspec.yaml b/dwds/pubspec.yaml index 608505a5a..4c333e582 100644 --- a/dwds/pubspec.yaml +++ b/dwds/pubspec.yaml @@ -10,46 +10,46 @@ environment: sdk: ">=2.17.0 <3.0.0" dependencies: - async: ^2.3.0 - built_collection: ^5.0.0 - built_value: '>=6.7.0 <9.0.0' - crypto: '>=2.0.6 <4.0.0' + async: ^2.9.0 + built_collection: ^5.1.1 + built_value: ^8.3.0 + crypto: ^3.0.2 dds: ^2.2.0 file: ^6.1.2 - http: '>=0.12.0 <0.14.0' - http_multi_server: ^3.0.0 - logging: '>=0.11.3 <2.0.0' - meta: ^1.1.7 - package_config: ^2.0.0 - path: ^1.6.0 - pool: ^1.4.0 - pub_semver: ^2.0.0 - shelf: '>=0.7.0 <2.0.0' + http: ^0.13.4 + http_multi_server: ^3.2.0 + logging: ^1.0.2 + meta: ^1.7.0 + package_config: ^2.0.2 + path: ^1.8.1 + pool: ^1.5.0 + pub_semver: ^2.1.1 + shelf: ^1.3.0 shelf_packages_handler: '^3.0.0' - shelf_proxy: '>=0.1.0+6 <2.0.0' - shelf_static: ^1.0.0 - shelf_web_socket: ^1.0.0 - source_maps: ^0.10.0 + shelf_proxy: ^1.0.1 + shelf_static: ^1.1.0 + shelf_web_socket: ^1.0.1 + source_maps: ^0.10.10 stack_trace: ^1.10.0 sse: ^4.1.0 - uuid: '>=2.0.0 <4.0.0' - vm_service: ^8.2.0 - web_socket_channel: ^2.0.0 - webkit_inspection_protocol: ^1.0.0 + uuid: ^3.0.6 + vm_service: ^8.3.0 + web_socket_channel: ^2.2.0 + webkit_inspection_protocol: ^1.0.1 dev_dependencies: - args: ^2.0.0 - build: ^2.0.0 - build_daemon: ^3.0.0 - build_runner: ^2.0.6 - build_version: ^2.0.0 - build_web_compilers: ^3.0.0 - built_value_generator: ^8.0.0 - graphs: ^2.0.0 + args: ^2.3.1 + build: ^2.3.0 + build_daemon: ^3.1.0 + build_runner: ^2.1.10 + build_version: ^2.1.1 + build_web_compilers: ^3.2.3 + built_value_generator: ^8.3.0 + graphs: ^2.1.0 frontend_server_common: path: ../frontend_server_common - js: ^0.6.1 - pubspec_parse: ^1.0.0 - stream_channel: ^2.0.0 - test: ^1.6.0 - webdriver: '>=2.0.0 <4.0.0' + js: ^0.6.4 + pubspec_parse: ^1.2.0 + stream_channel: ^2.1.0 + test: ^1.21.1 + webdriver: ^3.0.0 diff --git a/webdev/pubspec.yaml b/webdev/pubspec.yaml index 98c586897..7a94ee60a 100644 --- a/webdev/pubspec.yaml +++ b/webdev/pubspec.yaml @@ -12,37 +12,37 @@ environment: sdk: ">=2.17.0 <3.0.0" dependencies: - args: ^2.0.0 - async: ^2.2.0 - build_daemon: '>=2.0.0 <4.0.0' + args: ^2.3.1 + async: ^2.9.0 + build_daemon: ^3.1.0 browser_launcher: ^1.1.0 - crypto: ^3.0.0 + crypto: ^3.0.2 dds: ^2.2.0 - dwds: ^14.0.2 - http: ^0.13.0 - http_multi_server: ^3.0.0 - io: ^1.0.0 - logging: ^1.0.0 - meta: ^1.1.2 - path: ^1.5.1 - pool: ^1.4.0 - pubspec_parse: ^1.0.0 - pub_semver: ^2.0.0 - shelf: ^1.0.0 - shelf_proxy: ^1.0.0 - shelf_static: ^1.0.0 + dwds: ^14.0.3-dev + http: ^0.13.4 + http_multi_server: ^3.2.0 + io: ^1.0.3 + logging: ^1.0.2 + meta: ^1.7.0 + path: ^1.8.1 + pool: ^1.5.0 + pubspec_parse: ^1.2.0 + pub_semver: ^2.1.1 + shelf: ^1.3.0 + shelf_proxy: ^1.0.1 + shelf_static: ^1.1.0 stack_trace: ^1.10.0 sse: ^4.1.0 - vm_service: '>=3.0.0 <9.0.0' - webkit_inspection_protocol: '>=0.4.0 <2.0.0' - yaml: ^3.0.0 + vm_service: ^8.3.0 + webkit_inspection_protocol: ^1.0.1 + yaml: ^3.1.1 dev_dependencies: - build: ^2.0.0 - build_runner: ^2.0.0 + build: ^2.3.0 + build_runner: ^2.1.10 build_verify: ^3.0.0 - build_version: ^2.0.0 - test: ^1.15.0 + build_version: ^2.1.1 + test: ^1.21.1 test_descriptor: ^2.0.0 test_process: ^2.0.2 webdriver: ^3.0.0 From 6d4e031e4881671b8b29e99d205871eff0655664 Mon Sep 17 00:00:00 2001 From: Anna Gringauze Date: Fri, 13 May 2022 17:57:27 -0700 Subject: [PATCH 4/9] Remove unnecessary build options --- dwds/build.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dwds/build.yaml b/dwds/build.yaml index 433a6f500..4d889eae6 100644 --- a/dwds/build.yaml +++ b/dwds/build.yaml @@ -1,9 +1,5 @@ targets: $default: - builders: - built_value_generator|built_value: - options: - header: '// ignore_for_file: unnecessary_lambdas' build_web_compilers|entrypoint: options: compiler: dart2js From 96b7efa8d0d1aa1e8cd9c5b3a3ed664c391b5af9 Mon Sep 17 00:00:00 2001 From: Anna Gringauze Date: Fri, 13 May 2022 18:01:25 -0700 Subject: [PATCH 5/9] Format --- dwds/build.yaml | 1 + dwds/lib/data/serializers.dart | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dwds/build.yaml b/dwds/build.yaml index 4d889eae6..89fa4ee73 100644 --- a/dwds/build.yaml +++ b/dwds/build.yaml @@ -1,5 +1,6 @@ targets: $default: + builders: build_web_compilers|entrypoint: options: compiler: dart2js diff --git a/dwds/lib/data/serializers.dart b/dwds/lib/data/serializers.dart index 96e760803..903ef5941 100644 --- a/dwds/lib/data/serializers.dart +++ b/dwds/lib/data/serializers.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// ignore_for_file: unnecessary_lambdas - import 'package:built_collection/built_collection.dart'; import 'package:built_value/serializer.dart'; @@ -38,4 +36,3 @@ part 'serializers.g.dart'; RunRequest, ]) final Serializers serializers = _$serializers; - From c3f392dba58a4acc268bb80d1e92923737d5fa5f Mon Sep 17 00:00:00 2001 From: Anna Gringauze Date: Fri, 13 May 2022 18:05:35 -0700 Subject: [PATCH 6/9] Update comment in analysis_options.yaml --- dwds/analysis_options.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwds/analysis_options.yaml b/dwds/analysis_options.yaml index 499a926e7..672efd876 100644 --- a/dwds/analysis_options.yaml +++ b/dwds/analysis_options.yaml @@ -1,4 +1,4 @@ -# This file contains the analysis options used for code in the flutter/flutter +# This file contains the analysis options used for code in the webdev # repository. analyzer: From ba61a1272c272322e9ff76e10b9c42b5b7560c99 Mon Sep 17 00:00:00 2001 From: Anna Gringauze Date: Tue, 17 May 2022 15:06:39 -0700 Subject: [PATCH 7/9] Added comments on nullable data fields --- dwds/lib/data/devtools_request.dart | 15 ++++++++++++++- dwds/lib/data/extension_request.dart | 3 ++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/dwds/lib/data/devtools_request.dart b/dwds/lib/data/devtools_request.dart index 214ae29fa..20dbd391b 100644 --- a/dwds/lib/data/devtools_request.dart +++ b/dwds/lib/data/devtools_request.dart @@ -25,12 +25,25 @@ abstract class DevToolsRequest String get instanceId; /// Identifies the context in which evaluations should occur. + /// + /// Defines execution context for the debug service that connects + /// to chrome via the extension debugger. + /// Can be `null` for local debug service, which gets the execution + /// context from the Chrome runtime. int? get contextId; - /// Belongs to the tab that requests the DevTools + /// Belongs to the tab that requests the DevTools. + /// + /// Defines the tab being debugged for the debug service that connects + /// to chrome via the extension debugger. + /// Can be `null` for local debug service, which finds the tab with the + /// correct `dartAppInstanceId` automatically. String? get tabUrl; /// If this is a uri only request. + /// + /// Only available on requests coming from dart debug extension + /// for DevTools to open in an embedded Chrome DevTools tab. bool? get uriOnly; } diff --git a/dwds/lib/data/extension_request.dart b/dwds/lib/data/extension_request.dart index 812347db5..c212a2541 100644 --- a/dwds/lib/data/extension_request.dart +++ b/dwds/lib/data/extension_request.dart @@ -26,7 +26,7 @@ abstract class ExtensionRequest String get command; - /// Contains JSON-encoded parameters. + /// Contains JSON-encoded parameters, if avaiable. String? get commandParams; } @@ -49,6 +49,7 @@ abstract class ExtensionResponse /// Contains a JSON-encoded payload. String get result; + /// Contains an error, if avaiable. String? get error; } From 4dc4429630aeea268a3aac6ce2d8e850a42d6268 Mon Sep 17 00:00:00 2001 From: Anna Gringauze Date: Tue, 17 May 2022 15:13:11 -0700 Subject: [PATCH 8/9] Rephrased comments --- dwds/lib/data/devtools_request.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dwds/lib/data/devtools_request.dart b/dwds/lib/data/devtools_request.dart index 20dbd391b..d4e87b459 100644 --- a/dwds/lib/data/devtools_request.dart +++ b/dwds/lib/data/devtools_request.dart @@ -42,8 +42,8 @@ abstract class DevToolsRequest /// If this is a uri only request. /// - /// Only available on requests coming from dart debug extension - /// for DevTools to open in an embedded Chrome DevTools tab. + /// Only available on requests coming from dart debug extension. + /// If true, DevTools should open in an embedded Chrome DevTools tab. bool? get uriOnly; } From 0be23167678ee93a3c944b7ccacfbae5f8693244 Mon Sep 17 00:00:00 2001 From: Anna Gringauze Date: Tue, 17 May 2022 16:30:45 -0700 Subject: [PATCH 9/9] Allow more time for timing out tests --- dwds/test/events_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwds/test/events_test.dart b/dwds/test/events_test.dart index aaec4468a..0a2146546 100644 --- a/dwds/test/events_test.dart +++ b/dwds/test/events_test.dart @@ -447,7 +447,7 @@ void main() { () => client.callServiceExtension('fullReload')); }); }); - }); + }, timeout: Timeout.factor(2)); } /// Matches event recursively.