From 07e7f84b401bd358d57f2c9559201589b1483a94 Mon Sep 17 00:00:00 2001 From: Elliott Brooks <21270878+elliette@users.noreply.github.com> Date: Thu, 12 May 2022 14:17:30 -0700 Subject: [PATCH] Prepare DWDS for 2.14.2. release --- dwds/CHANGELOG.md | 2 +- dwds/lib/data/build_result.g.dart | 8 +- dwds/lib/data/connect_request.g.dart | 8 +- dwds/lib/data/debug_event.g.dart | 14 +- dwds/lib/data/devtools_request.g.dart | 14 +- dwds/lib/data/error_response.g.dart | 8 +- dwds/lib/data/extension_request.g.dart | 26 +- dwds/lib/data/isolate_events.g.dart | 14 +- dwds/lib/data/register_event.g.dart | 8 +- dwds/lib/data/run_request.g.dart | 8 +- dwds/lib/data/serializers.g.dart | 2 +- dwds/lib/src/injected/client.js | 492 ++++++++----------------- dwds/lib/src/version.dart | 2 +- dwds/pubspec.yaml | 2 +- 14 files changed, 229 insertions(+), 379 deletions(-) diff --git a/dwds/CHANGELOG.md b/dwds/CHANGELOG.md index ccc9b1f31..fa60ebeee 100644 --- a/dwds/CHANGELOG.md +++ b/dwds/CHANGELOG.md @@ -1,4 +1,4 @@ -## 14.0.2-dev +## 14.0.2 - Update the min SDK constraint to 2.17.0. ## 14.0.1 diff --git a/dwds/lib/data/build_result.g.dart b/dwds/lib/data/build_result.g.dart index 9794d3faf..6d646b936 100644 --- a/dwds/lib/data/build_result.g.dart +++ b/dwds/lib/data/build_result.g.dart @@ -96,7 +96,7 @@ class _$BuildResult extends BuildResult { final BuildStatus status; factory _$BuildResult([void Function(BuildResultBuilder) updates]) => - (new BuildResultBuilder()..update(updates)).build(); + (new BuildResultBuilder()..update(updates))._build(); _$BuildResult._({this.status}) : super._() { BuiltValueNullFieldError.checkNotNull(status, 'BuildResult', 'status'); @@ -157,7 +157,9 @@ class BuildResultBuilder implements Builder { } @override - _$BuildResult build() { + BuildResult build() => _build(); + + _$BuildResult _build() { final _$result = _$v ?? new _$BuildResult._( status: BuiltValueNullFieldError.checkNotNull( @@ -167,4 +169,4 @@ class BuildResultBuilder implements Builder { } } -// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new +// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new diff --git a/dwds/lib/data/connect_request.g.dart b/dwds/lib/data/connect_request.g.dart index af84028ca..db956da1f 100644 --- a/dwds/lib/data/connect_request.g.dart +++ b/dwds/lib/data/connect_request.g.dart @@ -75,7 +75,7 @@ class _$ConnectRequest extends ConnectRequest { final String entrypointPath; factory _$ConnectRequest([void Function(ConnectRequestBuilder) updates]) => - (new ConnectRequestBuilder()..update(updates)).build(); + (new ConnectRequestBuilder()..update(updates))._build(); _$ConnectRequest._({this.appId, this.instanceId, this.entrypointPath}) : super._() { @@ -161,7 +161,9 @@ class ConnectRequestBuilder } @override - _$ConnectRequest build() { + ConnectRequest build() => _build(); + + _$ConnectRequest _build() { final _$result = _$v ?? new _$ConnectRequest._( appId: BuiltValueNullFieldError.checkNotNull( @@ -175,4 +177,4 @@ class ConnectRequestBuilder } } -// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new +// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new diff --git a/dwds/lib/data/debug_event.g.dart b/dwds/lib/data/debug_event.g.dart index 6db476681..871f2a856 100644 --- a/dwds/lib/data/debug_event.g.dart +++ b/dwds/lib/data/debug_event.g.dart @@ -118,7 +118,7 @@ class _$DebugEvent extends DebugEvent { final int timestamp; factory _$DebugEvent([void Function(DebugEventBuilder) updates]) => - (new DebugEventBuilder()..update(updates)).build(); + (new DebugEventBuilder()..update(updates))._build(); _$DebugEvent._({this.kind, this.eventData, this.timestamp}) : super._() { BuiltValueNullFieldError.checkNotNull(kind, 'DebugEvent', 'kind'); @@ -198,7 +198,9 @@ class DebugEventBuilder implements Builder { } @override - _$DebugEvent build() { + DebugEvent build() => _build(); + + _$DebugEvent _build() { final _$result = _$v ?? new _$DebugEvent._( kind: BuiltValueNullFieldError.checkNotNull( @@ -218,7 +220,7 @@ class _$BatchedDebugEvents extends BatchedDebugEvents { factory _$BatchedDebugEvents( [void Function(BatchedDebugEventsBuilder) updates]) => - (new BatchedDebugEventsBuilder()..update(updates)).build(); + (new BatchedDebugEventsBuilder()..update(updates))._build(); _$BatchedDebugEvents._({this.events}) : super._() { BuiltValueNullFieldError.checkNotNull( @@ -285,7 +287,9 @@ class BatchedDebugEventsBuilder } @override - _$BatchedDebugEvents build() { + BatchedDebugEvents build() => _build(); + + _$BatchedDebugEvents _build() { _$BatchedDebugEvents _$result; try { _$result = _$v ?? new _$BatchedDebugEvents._(events: events.build()); @@ -305,4 +309,4 @@ class BatchedDebugEventsBuilder } } -// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new +// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new diff --git a/dwds/lib/data/devtools_request.g.dart b/dwds/lib/data/devtools_request.g.dart index 6cc7e3651..1c81b93b3 100644 --- a/dwds/lib/data/devtools_request.g.dart +++ b/dwds/lib/data/devtools_request.g.dart @@ -166,7 +166,7 @@ class _$DevToolsRequest extends DevToolsRequest { final bool uriOnly; factory _$DevToolsRequest([void Function(DevToolsRequestBuilder) updates]) => - (new DevToolsRequestBuilder()..update(updates)).build(); + (new DevToolsRequestBuilder()..update(updates))._build(); _$DevToolsRequest._( {this.appId, this.instanceId, this.contextId, this.tabUrl, this.uriOnly}) @@ -268,7 +268,9 @@ class DevToolsRequestBuilder } @override - _$DevToolsRequest build() { + DevToolsRequest build() => _build(); + + _$DevToolsRequest _build() { final _$result = _$v ?? new _$DevToolsRequest._( appId: BuiltValueNullFieldError.checkNotNull( @@ -293,7 +295,7 @@ class _$DevToolsResponse extends DevToolsResponse { factory _$DevToolsResponse( [void Function(DevToolsResponseBuilder) updates]) => - (new DevToolsResponseBuilder()..update(updates)).build(); + (new DevToolsResponseBuilder()..update(updates))._build(); _$DevToolsResponse._({this.success, this.promptExtension, this.error}) : super._() { @@ -378,7 +380,9 @@ class DevToolsResponseBuilder } @override - _$DevToolsResponse build() { + DevToolsResponse build() => _build(); + + _$DevToolsResponse _build() { final _$result = _$v ?? new _$DevToolsResponse._( success: BuiltValueNullFieldError.checkNotNull( @@ -391,4 +395,4 @@ class DevToolsResponseBuilder } } -// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new +// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new diff --git a/dwds/lib/data/error_response.g.dart b/dwds/lib/data/error_response.g.dart index 49e07502c..1fafdc2f0 100644 --- a/dwds/lib/data/error_response.g.dart +++ b/dwds/lib/data/error_response.g.dart @@ -65,7 +65,7 @@ class _$ErrorResponse extends ErrorResponse { final String stackTrace; factory _$ErrorResponse([void Function(ErrorResponseBuilder) updates]) => - (new ErrorResponseBuilder()..update(updates)).build(); + (new ErrorResponseBuilder()..update(updates))._build(); _$ErrorResponse._({this.error, this.stackTrace}) : super._() { BuiltValueNullFieldError.checkNotNull(error, 'ErrorResponse', 'error'); @@ -138,7 +138,9 @@ class ErrorResponseBuilder } @override - _$ErrorResponse build() { + ErrorResponse build() => _build(); + + _$ErrorResponse _build() { final _$result = _$v ?? new _$ErrorResponse._( error: BuiltValueNullFieldError.checkNotNull( @@ -150,4 +152,4 @@ class ErrorResponseBuilder } } -// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new +// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new diff --git a/dwds/lib/data/extension_request.g.dart b/dwds/lib/data/extension_request.g.dart index 480393ab1..1b2dca0b3 100644 --- a/dwds/lib/data/extension_request.g.dart +++ b/dwds/lib/data/extension_request.g.dart @@ -244,7 +244,7 @@ class _$ExtensionRequest extends ExtensionRequest { factory _$ExtensionRequest( [void Function(ExtensionRequestBuilder) updates]) => - (new ExtensionRequestBuilder()..update(updates)).build(); + (new ExtensionRequestBuilder()..update(updates))._build(); _$ExtensionRequest._({this.id, this.command, this.commandParams}) : super._() { @@ -328,7 +328,9 @@ class ExtensionRequestBuilder } @override - _$ExtensionRequest build() { + ExtensionRequest build() => _build(); + + _$ExtensionRequest _build() { final _$result = _$v ?? new _$ExtensionRequest._( id: BuiltValueNullFieldError.checkNotNull( @@ -353,7 +355,7 @@ class _$ExtensionResponse extends ExtensionResponse { factory _$ExtensionResponse( [void Function(ExtensionResponseBuilder) updates]) => - (new ExtensionResponseBuilder()..update(updates)).build(); + (new ExtensionResponseBuilder()..update(updates))._build(); _$ExtensionResponse._({this.id, this.success, this.result, this.error}) : super._() { @@ -446,7 +448,9 @@ class ExtensionResponseBuilder } @override - _$ExtensionResponse build() { + ExtensionResponse build() => _build(); + + _$ExtensionResponse _build() { final _$result = _$v ?? new _$ExtensionResponse._( id: BuiltValueNullFieldError.checkNotNull( @@ -468,7 +472,7 @@ class _$ExtensionEvent extends ExtensionEvent { final String method; factory _$ExtensionEvent([void Function(ExtensionEventBuilder) updates]) => - (new ExtensionEventBuilder()..update(updates)).build(); + (new ExtensionEventBuilder()..update(updates))._build(); _$ExtensionEvent._({this.params, this.method}) : super._() { BuiltValueNullFieldError.checkNotNull(params, 'ExtensionEvent', 'params'); @@ -541,7 +545,9 @@ class ExtensionEventBuilder } @override - _$ExtensionEvent build() { + ExtensionEvent build() => _build(); + + _$ExtensionEvent _build() { final _$result = _$v ?? new _$ExtensionEvent._( params: BuiltValueNullFieldError.checkNotNull( @@ -558,7 +564,7 @@ class _$BatchedEvents extends BatchedEvents { final BuiltList events; factory _$BatchedEvents([void Function(BatchedEventsBuilder) updates]) => - (new BatchedEventsBuilder()..update(updates)).build(); + (new BatchedEventsBuilder()..update(updates))._build(); _$BatchedEvents._({this.events}) : super._() { BuiltValueNullFieldError.checkNotNull(events, 'BatchedEvents', 'events'); @@ -621,7 +627,9 @@ class BatchedEventsBuilder } @override - _$BatchedEvents build() { + BatchedEvents build() => _build(); + + _$BatchedEvents _build() { _$BatchedEvents _$result; try { _$result = _$v ?? new _$BatchedEvents._(events: events.build()); @@ -641,4 +649,4 @@ class BatchedEventsBuilder } } -// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new +// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new diff --git a/dwds/lib/data/isolate_events.g.dart b/dwds/lib/data/isolate_events.g.dart index 46f105cec..a686af3a0 100644 --- a/dwds/lib/data/isolate_events.g.dart +++ b/dwds/lib/data/isolate_events.g.dart @@ -51,7 +51,7 @@ class _$IsolateStartSerializer implements StructuredSerializer { class _$IsolateExit extends IsolateExit { factory _$IsolateExit([void Function(IsolateExitBuilder) updates]) => - (new IsolateExitBuilder()..update(updates)).build(); + (new IsolateExitBuilder()..update(updates))._build(); _$IsolateExit._() : super._(); @@ -96,7 +96,9 @@ class IsolateExitBuilder implements Builder { } @override - _$IsolateExit build() { + IsolateExit build() => _build(); + + _$IsolateExit _build() { final _$result = _$v ?? new _$IsolateExit._(); replace(_$result); return _$result; @@ -105,7 +107,7 @@ class IsolateExitBuilder implements Builder { class _$IsolateStart extends IsolateStart { factory _$IsolateStart([void Function(IsolateStartBuilder) updates]) => - (new IsolateStartBuilder()..update(updates)).build(); + (new IsolateStartBuilder()..update(updates))._build(); _$IsolateStart._() : super._(); @@ -151,11 +153,13 @@ class IsolateStartBuilder } @override - _$IsolateStart build() { + IsolateStart build() => _build(); + + _$IsolateStart _build() { final _$result = _$v ?? new _$IsolateStart._(); replace(_$result); return _$result; } } -// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new +// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new diff --git a/dwds/lib/data/register_event.g.dart b/dwds/lib/data/register_event.g.dart index 789d2e13f..01bd5f162 100644 --- a/dwds/lib/data/register_event.g.dart +++ b/dwds/lib/data/register_event.g.dart @@ -65,7 +65,7 @@ class _$RegisterEvent extends RegisterEvent { final int timestamp; factory _$RegisterEvent([void Function(RegisterEventBuilder) updates]) => - (new RegisterEventBuilder()..update(updates)).build(); + (new RegisterEventBuilder()..update(updates))._build(); _$RegisterEvent._({this.eventData, this.timestamp}) : super._() { BuiltValueNullFieldError.checkNotNull( @@ -139,7 +139,9 @@ class RegisterEventBuilder } @override - _$RegisterEvent build() { + RegisterEvent build() => _build(); + + _$RegisterEvent _build() { final _$result = _$v ?? new _$RegisterEvent._( eventData: BuiltValueNullFieldError.checkNotNull( @@ -151,4 +153,4 @@ class RegisterEventBuilder } } -// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new +// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new diff --git a/dwds/lib/data/run_request.g.dart b/dwds/lib/data/run_request.g.dart index 20f63470b..219846604 100644 --- a/dwds/lib/data/run_request.g.dart +++ b/dwds/lib/data/run_request.g.dart @@ -30,7 +30,7 @@ class _$RunRequestSerializer implements StructuredSerializer { class _$RunRequest extends RunRequest { factory _$RunRequest([void Function(RunRequestBuilder) updates]) => - (new RunRequestBuilder()..update(updates)).build(); + (new RunRequestBuilder()..update(updates))._build(); _$RunRequest._() : super._(); @@ -75,11 +75,13 @@ class RunRequestBuilder implements Builder { } @override - _$RunRequest build() { + RunRequest build() => _build(); + + _$RunRequest _build() { final _$result = _$v ?? new _$RunRequest._(); replace(_$result); return _$result; } } -// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new +// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new diff --git a/dwds/lib/data/serializers.g.dart b/dwds/lib/data/serializers.g.dart index 3d130cda9..127c58da7 100644 --- a/dwds/lib/data/serializers.g.dart +++ b/dwds/lib/data/serializers.g.dart @@ -32,4 +32,4 @@ Serializers _$serializers = (new Serializers().toBuilder() () => new ListBuilder())) .build(); -// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new +// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new diff --git a/dwds/lib/src/injected/client.js b/dwds/lib/src/injected/client.js index fd96d8fb4..ebaf1c419 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.18.0-82.0.dev. +// Generated by dart2js (NullSafetyMode.unsound, csp), the Dart to JavaScript compiler version: 2.17.0. // The code supports the following hooks: // dartPrint(message): // if this function is defined it is called instead of the Dart [print] @@ -245,10 +245,7 @@ return new A.LateError("Field '" + A.S(fieldName) + "' has been assigned during initialization."); }, LateError$fieldNI(fieldName) { - 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."); + return new A.LateError("Field '" + fieldName + "' has not been initialized."); }, ReachabilityError$(_message) { return new A.ReachabilityError(_message); @@ -1873,12 +1870,6 @@ _.__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)); }, @@ -1886,6 +1877,19 @@ 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; @@ -8589,7 +8593,7 @@ Uuid: function Uuid() { }, HtmlWebSocketChannel$connect(url, protocols) { - var t2, t3, localToForeignController, foreignToLocalController, t4, t5, _null = null, + var t2, t3, localToForeignController, foreignToLocalController, t4, t5, t6, _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); @@ -8598,10 +8602,11 @@ foreignToLocalController = A.StreamController_StreamController(_null, _null, true, t3); t4 = A._instanceType(foreignToLocalController); t5 = A._instanceType(localToForeignController); - 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)); + 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); t3 = A.GuaranteeChannel$(new A._ControllerStream(localToForeignController, t5._eval$1("_ControllerStream<1>")), new A._StreamSinkWrapper(foreignToLocalController, t4._eval$1("_StreamSinkWrapper<1>")), false, t3); - if (t2.__StreamChannelController__foreign !== $) - A.throwLateFieldAI("_foreign"); + A._lateWriteOnceCheck(t2.__StreamChannelController__foreign, "_foreign"); t2.set$__StreamChannelController__foreign(t3); t2 = new A.HtmlWebSocketChannel(t1, t2); t2.HtmlWebSocketChannel$1(t1); @@ -9108,6 +9113,9 @@ _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); }, @@ -9171,6 +9179,9 @@ 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); }, @@ -9378,11 +9389,6 @@ 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); @@ -9536,6 +9542,13 @@ 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)); @@ -14639,7 +14652,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.clear$0(t1); + B.JSArray_methods.set$length(t1, 0); t2._splay$1(t3); t3 = t2._root; t3.toString; @@ -14846,7 +14859,7 @@ if (t1 === 0) B.JSArray_methods.add$1(keys, ""); else - B.JSArray_methods.clear$0(keys); + B.JSArray_methods.set$length(keys, 0); _this._original = _this._processed = null; return _this._data = result; }, @@ -15790,7 +15803,6 @@ 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) @@ -15800,7 +15812,7 @@ minutesPadding = minutes < 10 ? "0" : ""; seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000); secondsPadding = seconds < 10 ? "0" : ""; - return sign + Math.abs(hours) + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0"); + return "" + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0"); }, $isComparable: 1 }; @@ -16216,8 +16228,7 @@ t2 = _this._fragment; if (t2 != null) t1 = t1 + "#" + t2; - if (value !== $) - A.throwLateFieldADI("_text"); + A._lateInitializeOnceCheck(value, "_text"); value = _this.___Uri__text = t1.charCodeAt(0) == 0 ? t1 : t1; } return value; @@ -16227,8 +16238,7 @@ value = _this.___Uri_hashCode; if (value === $) { result = B.JSString_methods.get$hashCode(_this.get$_text()); - if (_this.___Uri_hashCode !== $) - A.throwLateFieldADI("hashCode"); + A._lateInitializeOnceCheck(_this.___Uri_hashCode, "hashCode"); _this.___Uri_hashCode = result; value = result; } @@ -19329,9 +19339,7 @@ build$0() { var t1, t2, t3, _this = this; if (_this._listOwner == null) { - t1 = _this.__ListBuilder__list; - if (t1 === $) - A.throwLateFieldNI("_list"); + t1 = A._lateReadCheck(_this.__ListBuilder__list, "_list"); t2 = _this.$ti; t3 = t2._eval$1("_BuiltList<1>"); t3 = t3._as(new A._BuiltList(t1, t3)); @@ -19357,20 +19365,15 @@ } }, get$length(_) { - var t1 = this.__ListBuilder__list; - if (t1 === $) - A.throwLateFieldNI("_list"); - return t1.length; + return J.get$length$asx(A._lateReadCheck(this.__ListBuilder__list, "_list")); }, map$1(_, f) { var t2, t3, t4, t5, result, _this = this, t1 = _this.$ti; t1._eval$1("1(1)")._as(f); - t2 = _this.__ListBuilder__list; - if (t2 === $) - A.throwLateFieldNI("_list"); + t2 = A._lateReadCheck(_this.__ListBuilder__list, "_list"); t3 = t1._precomputed1; - t4 = A._arrayInstanceType(t2); + t4 = A.instanceType(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); @@ -19490,20 +19493,11 @@ _s11_ = "_builderMap", _s9_ = "_builtMap"; if (_this._list_multimap$_builtMapOwner == null) { - t1 = _this.__ListMultimapBuilder__builderMap; - if (t1 === $) - A.throwLateFieldNI(_s11_); - t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1); - for (; t1.moveNext$0();) { + for (t1 = A._lateReadCheck(_this.__ListMultimapBuilder__builderMap, _s11_), t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A.instanceType(t1)._precomputed1); t1.moveNext$0();) { key = t1.__js_helper$_current; - t2 = _this.__ListMultimapBuilder__builderMap; - if (t2 === $) - A.throwLateFieldNI(_s11_); - t2 = t2.$index(0, key); + t2 = J.$index$asx(A._lateReadCheck(_this.__ListMultimapBuilder__builderMap, _s11_), key); if (t2._listOwner == null) { - t3 = t2.__ListBuilder__list; - if (t3 === $) - A.throwLateFieldNI("_list"); + t3 = A._lateReadCheck(t2.__ListBuilder__list, "_list"); t4 = A._instanceType(t2); t5 = t4._eval$1("_BuiltList<1>"); t5 = t5._as(new A._BuiltList(t3, t5)); @@ -19513,22 +19507,14 @@ builtList = t2._listOwner; t2 = builtList._list.length; t3 = _this.__ListMultimapBuilder__builtMap; - if (t2 === 0) { - if (t3 === $) - A.throwLateFieldNI(_s9_); - t3.remove$1(0, key); - } else { - if (t3 === $) - A.throwLateFieldNI(_s9_); - t3.$indexSet(0, key, builtList); - } + if (t2 === 0) + J.remove$1$x(A._lateReadCheck(t3, _s9_), key); + else + J.$indexSet$ax(A._lateReadCheck(t3, _s9_), key, builtList); } - 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.$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._list_multimap$_builtMapOwner; t1.toString; @@ -19538,29 +19524,20 @@ this._list_multimap$_setWithCopyAndCheck$2(multimap.get$keys(multimap), new A.ListMultimapBuilder_replace_closure(multimap)); }, _list_multimap$_getValuesBuilder$1(key) { - var t2, result, builtValues, _this = this, + var result, builtValues, _this = this, _s11_ = "_builderMap", t1 = _this.$ti; t1._precomputed1._as(key); - t2 = _this.__ListMultimapBuilder__builderMap; - if (t2 === $) - A.throwLateFieldNI(_s11_); - result = t2.$index(0, key); + result = J.$index$asx(A._lateReadCheck(_this.__ListMultimapBuilder__builderMap, _s11_), key); if (result == null) { - t2 = _this.__ListMultimapBuilder__builtMap; - if (t2 === $) - A.throwLateFieldNI("_builtMap"); - builtValues = t2.$index(0, key); + builtValues = J.$index$asx(A._lateReadCheck(_this.__ListMultimapBuilder__builtMap, "_builtMap"), key); result = builtValues == null ? A.ListBuilder_ListBuilder(B.List_empty0, t1._rest[1]) : A.ListBuilder_ListBuilder(builtValues, builtValues.$ti._precomputed1); - t1 = _this.__ListMultimapBuilder__builderMap; - if (t1 === $) - A.throwLateFieldNI(_s11_); - t1.$indexSet(0, key, result); + J.$indexSet$ax(A._lateReadCheck(_this.__ListMultimapBuilder__builderMap, _s11_), key, result); } return result; }, _list_multimap$_setWithCopyAndCheck$2(keys, lookup) { - var t1, t2, t3, t4, t5, t6, key, t7, value, t8, t9, t10, t11, _this = this, _null = null; + var t1, t2, t3, t4, t5, t6, key, t7, value, t8, t9, t10, _this = this, _null = null; _this.set$_list_multimap$_builtMapOwner(_null); t1 = _this.$ti; t2 = t1._precomputed1; @@ -19577,10 +19554,7 @@ t2._as(key); t1._as(value); if (_this._list_multimap$_builtMapOwner != null) { - t8 = _this.__ListMultimapBuilder__builtMap; - if (t8 === $) - A.throwLateFieldNI("_builtMap"); - _this.set$__ListMultimapBuilder__builtMap(t4._as(A.LinkedHashMap_LinkedHashMap$from(t8, t2, t3))); + _this.set$__ListMultimapBuilder__builtMap(t4._as(A.LinkedHashMap_LinkedHashMap$from(A._lateReadCheck(_this.__ListMultimapBuilder__builtMap, "_builtMap"), t2, t3))); _this.set$_list_multimap$_builtMapOwner(_null); } _this._list_multimap$_checkKey$1(key); @@ -19593,16 +19567,10 @@ if (value == null) A.throwExpression(A.ArgumentError$("null element", _null)); if (t8._listOwner != null) { - 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$__ListBuilder__list(t9._eval$1("List<1>")._as(A.List_List$from(A._lateReadCheck(t8.__ListBuilder__list, "_list"), true, t10))); t8.set$_listOwner(_null); } - t8 = t8.__ListBuilder__list; - if (t8 === $) - A.throwLateFieldNI("_list"); - B.JSArray_methods.add$1(t8, value); + J.add$1$ax(A._lateReadCheck(t8.__ListBuilder__list, "_list"), value); } else throw A.wrapException(A.ArgumentError$("map contained invalid value: " + A.S(value) + ", for key " + A.S(key), _null)); } @@ -19749,13 +19717,10 @@ }; A.MapBuilder.prototype = { build$0() { - var t1, t2, _this = this; + var t1, _this = this; if (_this._mapOwner == null) { - 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.$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._mapOwner; t1.toString; @@ -19770,7 +19735,7 @@ _this.set$__MapBuilder__map(replacement); }, $indexSet(_, key, value) { - var t2, t3, _this = this, + var t2, _this = this, t1 = _this.$ti; t1._precomputed1._as(key); t1._rest[1]._as(value); @@ -19778,39 +19743,24 @@ _this._checkValue$1(value); if (_this._mapOwner != null) { t2 = _this._createMap$0(); - t3 = _this.__MapBuilder__map; - if (t3 === $) - A.throwLateFieldNI("_map"); - t2.addAll$1(0, t3); + t2.addAll$1(0, A._lateReadCheck(_this.__MapBuilder__map, "_map")); _this.set$__MapBuilder__map(t1._eval$1("Map<1,2>")._as(t2)); _this.set$_mapOwner(null); } - t1 = _this.__MapBuilder__map; - if (t1 === $) - A.throwLateFieldNI("_map"); - t1.$indexSet(0, key, value); + J.$indexSet$ax(A._lateReadCheck(_this.__MapBuilder__map, "_map"), key, value); }, get$length(_) { - var t1 = this.__MapBuilder__map; - if (t1 === $) - A.throwLateFieldNI("_map"); - return t1._length; + return A._lateReadCheck(this.__MapBuilder__map, "_map")._length; }, get$_safeMap() { - var t1, t2, _this = this; + var t1, _this = this; if (_this._mapOwner != null) { t1 = _this._createMap$0(); - t2 = _this.__MapBuilder__map; - if (t2 === $) - A.throwLateFieldNI("_map"); - t1.addAll$1(0, t2); + t1.addAll$1(0, A._lateReadCheck(_this.__MapBuilder__map, "_map")); _this.set$__MapBuilder__map(_this.$ti._eval$1("Map<1,2>")._as(t1)); _this.set$_mapOwner(null); } - t1 = _this.__MapBuilder__map; - if (t1 === $) - A.throwLateFieldNI("_map"); - return t1; + return A._lateReadCheck(_this.__MapBuilder__map, "_map"); }, _createMap$0() { var t1 = this.$ti; @@ -19950,12 +19900,8 @@ A.SetBuilder.prototype = { build$0() { var t1, _this = this; - 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>"))); - } + if (_this._setOwner == null) + _this.set$_setOwner(new A._BuiltSet(_this._setFactory, A._lateReadCheck(_this.__SetBuilder__set, "_set"), _this.$ti._eval$1("_BuiltSet<1>"))); t1 = _this._setOwner; t1.toString; return t1; @@ -19975,19 +19921,14 @@ _this.set$__SetBuilder__set(set); }, get$length(_) { - var t1 = this.__SetBuilder__set; - if (t1 === $) - A.throwLateFieldNI("_set"); - return t1._collection$_length; + return A._lateReadCheck(this.__SetBuilder__set, "_set")._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 = _this.__SetBuilder__set; - if (t2 === $) - A.throwLateFieldNI("_set"); + t2 = A._lateReadCheck(_this.__SetBuilder__set, "_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>"))); @@ -19997,20 +19938,14 @@ _this.set$__SetBuilder__set(result); }, get$_safeSet() { - var t1, t2, _this = this; + var t1, _this = this; if (_this._setOwner != null) { t1 = _this._createSet$0(); - t2 = _this.__SetBuilder__set; - if (t2 === $) - A.throwLateFieldNI("_set"); - t1.addAll$1(0, t2); + t1.addAll$1(0, A._lateReadCheck(_this.__SetBuilder__set, "_set")); _this.set$__SetBuilder__set(_this.$ti._eval$1("Set<1>")._as(t1)); _this.set$_setOwner(null); } - t1 = _this.__SetBuilder__set; - if (t1 === $) - A.throwLateFieldNI("_set"); - return t1; + return A._lateReadCheck(_this.__SetBuilder__set, "_set"); }, _createSet$0() { return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1); @@ -20107,46 +20042,26 @@ A._BuiltSetMultimap.prototype = {}; A.SetMultimapBuilder.prototype = { build$0() { - var t1, key, t2, t3, t4, builtSet, _this = this, + var t1, key, t2, builtSet, t3, _this = this, _s11_ = "_builderMap", _s9_ = "_builtMap"; if (_this._builtMapOwner == null) { - t1 = _this.__SetMultimapBuilder__builderMap; - if (t1 === $) - A.throwLateFieldNI(_s11_); - t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1); - for (; t1.moveNext$0();) { + for (t1 = A._lateReadCheck(_this.__SetMultimapBuilder__builderMap, _s11_), t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A.instanceType(t1)._precomputed1); t1.moveNext$0();) { key = t1.__js_helper$_current; - 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>"))); - } + 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>"))); builtSet = t2._setOwner; t2 = builtSet._set$_set._collection$_length; t3 = _this.__SetMultimapBuilder__builtMap; - if (t2 === 0) { - if (t3 === $) - A.throwLateFieldNI(_s9_); - t3.remove$1(0, key); - } else { - if (t3 === $) - A.throwLateFieldNI(_s9_); - t3.$indexSet(0, key, builtSet); - } + if (t2 === 0) + J.remove$1$x(A._lateReadCheck(t3, _s9_), key); + else + J.$indexSet$ax(A._lateReadCheck(t3, _s9_), key, builtSet); } - 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.$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._builtMapOwner; t1.toString; @@ -20156,19 +20071,13 @@ this._setWithCopyAndCheck$2(multimap.get$keys(multimap), new A.SetMultimapBuilder_replace_closure(multimap)); }, _getValuesBuilder$1(key) { - var t2, result, builtValues, _this = this, + var result, builtValues, _this = this, _s11_ = "_builderMap", t1 = _this.$ti; t1._precomputed1._as(key); - t2 = _this.__SetMultimapBuilder__builderMap; - if (t2 === $) - A.throwLateFieldNI(_s11_); - result = t2.$index(0, key); + result = J.$index$asx(A._lateReadCheck(_this.__SetMultimapBuilder__builderMap, _s11_), key); if (result == null) { - t2 = _this.__SetMultimapBuilder__builtMap; - if (t2 === $) - A.throwLateFieldNI("_builtMap"); - builtValues = t2.$index(0, key); + builtValues = J.$index$asx(A._lateReadCheck(_this.__SetMultimapBuilder__builtMap, "_builtMap"), key); if (builtValues == null) result = A.SetBuilder_SetBuilder(t1._rest[1]); else { @@ -20176,10 +20085,7 @@ t1._eval$1("_BuiltSet<1>")._as(builtValues); result = new A.SetBuilder(builtValues._setFactory, builtValues._set$_set, builtValues, t1._eval$1("SetBuilder<1>")); } - t1 = _this.__SetMultimapBuilder__builderMap; - if (t1 === $) - A.throwLateFieldNI(_s11_); - t1.$indexSet(0, key, result); + J.$indexSet$ax(A._lateReadCheck(_this.__SetMultimapBuilder__builderMap, _s11_), key, result); } return result; }, @@ -20201,10 +20107,7 @@ t2._as(key); t1._as(value); if (_this._builtMapOwner != null) { - t8 = _this.__SetMultimapBuilder__builtMap; - if (t8 === $) - A.throwLateFieldNI("_builtMap"); - _this.set$__SetMultimapBuilder__builtMap(t4._as(A.LinkedHashMap_LinkedHashMap$from(t8, t2, t3))); + _this.set$__SetMultimapBuilder__builtMap(t4._as(A.LinkedHashMap_LinkedHashMap$from(A._lateReadCheck(_this.__SetMultimapBuilder__builtMap, "_builtMap"), t2, t3))); _this.set$_builtMapOwner(_null); } _this._set_multimap$_checkKey$1(key); @@ -20769,7 +20672,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, t8, _null = null, + var isUnderspecified, t2, t3, t4, keyType, valueType, result, i, key, values, value, t5, t6, t7, _null = null, t1 = type$.Iterable_nullable_Object; t1._as(serialized); isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; @@ -20809,10 +20712,7 @@ t6._as(key); t5._rest[1]._as(value); if (result._list_multimap$_builtMapOwner != null) { - 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$__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>")))); result.set$_list_multimap$_builtMapOwner(_null); } result._list_multimap$_checkKey$1(key); @@ -20825,16 +20725,10 @@ if (value == null) A.throwExpression(A.ArgumentError$("null element", _null)); if (t5._listOwner != null) { - 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$__ListBuilder__list(t6._eval$1("List<1>")._as(A.List_List$from(A._lateReadCheck(t5.__ListBuilder__list, "_list"), true, t7))); t5.set$_listOwner(_null); } - t5 = t5.__ListBuilder__list; - if (t5 === $) - A.throwLateFieldNI("_list"); - B.JSArray_methods.add$1(t5, value); + J.add$1$ax(A._lateReadCheck(t5.__ListBuilder__list, "_list"), value); } } return result.build$0(); @@ -21055,7 +20949,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, t6, + var isUnderspecified, t2, t3, t4, keyType, valueType, result, i, key, value, t5, t1 = type$.Iterable_dynamic; t1._as(serialized); isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0; @@ -21094,10 +20988,7 @@ t5._as(key); t4._rest[1]._as(value); if (result._builtMapOwner != null) { - 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$__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>")))); result.set$_builtMapOwner(null); } result._set_multimap$_checkKey$1(key); @@ -21924,7 +21815,7 @@ break; } } - return result.build$0(); + return result._build$0(); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -21971,7 +21862,7 @@ } return _this; }, - build$0() { + _build$0() { var t1, t2, t3, _this = this, _s14_ = "ConnectRequest", _$result = _this._$v; @@ -22024,7 +21915,7 @@ break; } } - return result.build$0(); + return result._debug_event$_build$0(); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -22096,7 +21987,7 @@ break; } } - return result.build$0(); + return result._debug_event$_build$0(); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -22143,7 +22034,7 @@ } return _this; }, - build$0() { + _debug_event$_build$0() { var t1, t2, t3, _this = this, _s10_ = "DebugEvent", _$result = _this._debug_event$_$v; @@ -22204,7 +22095,7 @@ } return _this; }, - build$0() { + _debug_event$_build$0() { var _$failedField, e, _$result0, t1, exception, t2, _this = this, _s18_ = "BatchedDebugEvents", _$result = null; @@ -22297,7 +22188,7 @@ break; } } - return result.build$0(); + return result._devtools_request$_build$0(); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -22414,7 +22305,7 @@ } return _this; }, - build$0() { + _devtools_request$_build$0() { var t1, t2, _this = this, _s15_ = "DevToolsRequest", _$result = _this._devtools_request$_$v; @@ -22824,7 +22715,7 @@ break; } } - return result.build$0(); + return result._extension_request$_build$0(); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -22976,7 +22867,7 @@ } return t1; }, - build$0() { + _extension_request$_build$0() { var _$failedField, e, _$result0, t1, exception, t2, _this = this, _s13_ = "BatchedEvents", _$result = null; @@ -23023,7 +22914,7 @@ }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { type$.legacy_Iterable_legacy_Object._as(serialized); - return new A.IsolateExitBuilder().build$0(); + return new A.IsolateExitBuilder()._isolate_events$_build$0(); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -23047,7 +22938,7 @@ }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { type$.legacy_Iterable_legacy_Object._as(serialized); - return new A.IsolateStartBuilder().build$0(); + return new A.IsolateStartBuilder()._isolate_events$_build$0(); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -23077,7 +22968,7 @@ } }; A.IsolateExitBuilder.prototype = { - build$0() { + _isolate_events$_build$0() { var _$result = this._isolate_events$_$v; if (_$result == null) _$result = new A._$IsolateExit(); @@ -23101,7 +22992,7 @@ } }; A.IsolateStartBuilder.prototype = { - build$0() { + _isolate_events$_build$0() { var _$result = this._isolate_events$_$v; if (_$result == null) _$result = new A._$IsolateStart(); @@ -23149,7 +23040,7 @@ break; } } - return result.build$0(); + return result._register_event$_build$0(); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -23193,7 +23084,7 @@ } return _this; }, - build$0() { + _register_event$_build$0() { var t1, t2, _this = this, _s13_ = "RegisterEvent", _$result = _this._register_event$_$v; @@ -23282,27 +23173,15 @@ t1 = this._channel, value = t1.__HtmlWebSocketChannel_sink; if (value === $) { - 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"); + t2 = A._lateReadCheck(A._lateReadCheck(t1._html0$_controller.__StreamChannelController__foreign, "_foreign").__GuaranteeChannel__sink, "_sink"); + A._lateInitializeOnceCheck(t1.__HtmlWebSocketChannel_sink, "sink"); value = t1.__HtmlWebSocketChannel_sink = new A._HtmlWebSocketSink(t1, t2); } return value; }, get$stream(_) { - 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>"); + var t1 = A._lateReadCheck(A._lateReadCheck(this._channel._html0$_controller.__StreamChannelController__foreign, "_foreign").__GuaranteeChannel__streamController, "_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")); } }; @@ -23685,35 +23564,23 @@ 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(t2, "open", false, type$._EventStream_legacy_Event); + t2 = new A._EventStream(A._lateReadCheck(t2, _s12_), "open", false, type$._EventStream_legacy_Event); t2.get$first(t2).whenComplete$1(new A.SseClient_closure(_this)); - 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_); + 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_); 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); - t3 = _this.__SseClient__eventSource; - if (t3 === $) - A.throwLateFieldNI(_s12_); - A._EventStreamSubscription$(t3, "error", t1._as(new A.SseClient_closure1(_this)), false, t4); + A._EventStreamSubscription$(A._lateReadCheck(_this.__SseClient__eventSource, _s12_), "error", t1._as(new A.SseClient_closure1(_this)), false, t4); }, close$0(_) { - var _this = this, - t1 = _this.__SseClient__eventSource; - if (t1 === $) - A.throwLateFieldNI("_eventSource"); - t1.close(); + var t1, _this = this; + A._lateReadCheck(_this.__SseClient__eventSource, "_eventSource").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); @@ -23805,7 +23672,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, t2, $async$exception; + $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, e, e0, e1, exception, t1, $async$exception; var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) { $async$currentError = $async$result; @@ -23830,11 +23697,8 @@ } $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(t2 + "&messageId=" + ++t1._lastMessageId, "POST", null, $async$self._box_0.encodedMessage, true), $async$call$0); + 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); case 6: // returning from await. $async$handler = 1; @@ -23893,24 +23757,18 @@ 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>"))); - if (_this.__GuaranteeChannel__sink !== $) - A.throwLateFieldAI("_sink"); + A._lateWriteOnceCheck(_this.__GuaranteeChannel__sink, "_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)); - if (_this.__GuaranteeChannel__streamController !== $) - A.throwLateFieldAI("_streamController"); + A._lateWriteOnceCheck(_this.__GuaranteeChannel__streamController, "_streamController"); _this.set$__GuaranteeChannel__streamController(t1); }, _onSinkDisconnected$0() { - var subscription, t1; this._disconnected = true; - subscription = this._guarantee_channel$_subscription; + var subscription = this._guarantee_channel$_subscription; if (subscription != null) subscription.cancel$0(0); - t1 = this.__GuaranteeChannel__streamController; - if (t1 === $) - A.throwLateFieldNI("_streamController"); - t1.close$0(0); + A._lateReadCheck(this.__GuaranteeChannel__streamController, "_streamController").close$0(0); }, set$__GuaranteeChannel__sink(__GuaranteeChannel__sink) { this.__GuaranteeChannel__sink = this.$ti._eval$1("_GuaranteeSink<1>")._as(__GuaranteeChannel__sink); @@ -23925,28 +23783,21 @@ A.GuaranteeChannel_closure.prototype = { call$0() { var t2, t3, + _s17_ = "_streamController", t1 = this.$this; if (t1._disconnected) return; t2 = this._box_0.innerStream; - 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())); + 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())); }, $signature: 0 }; A.GuaranteeChannel__closure.prototype = { call$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); + var t1 = this.$this; + A._lateReadCheck(t1.__GuaranteeChannel__sink, "_sink")._onStreamDisconnected$0(); + A._lateReadCheck(t1.__GuaranteeChannel__streamController, "_streamController").close$0(0); }, $signature: 0 }; @@ -24214,12 +24065,7 @@ t1.get$first(t1).then$1$1(0, new A.HtmlWebSocketChannel_closure2(_this), t3); }, _listen$0() { - var t1 = this._html0$_controller.__StreamChannelController__local; - if (t1 === $) - A.throwLateFieldNI("_local"); - t1 = t1.__GuaranteeChannel__streamController; - if (t1 === $) - A.throwLateFieldNI("_streamController"); + var t1 = A._lateReadCheck(A._lateReadCheck(this._html0$_controller.__StreamChannelController__local, "_local").__GuaranteeChannel__streamController, "_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 @@ -24233,55 +24079,29 @@ }; A.HtmlWebSocketChannel_closure0.prototype = { call$1(_) { - var t1, t2; + var t1; type$.Event._as(_); t1 = this.$this._html0$_controller; - 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); + 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); }, $signature: 26 }; A.HtmlWebSocketChannel_closure1.prototype = { call$1($event) { - var t1, - data = new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(type$.MessageEvent._as($event).data, true); + var 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); - 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); + A._lateReadCheck(A._lateReadCheck(this.$this._html0$_controller.__StreamChannelController__local, "_local").__GuaranteeChannel__sink, "_sink").add$1(0, data); }, $signature: 64 }; A.HtmlWebSocketChannel_closure2.prototype = { call$1($event) { - var t1; type$.CloseEvent._as($event); $event.code; $event.reason; - 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); + A._lateReadCheck(A._lateReadCheck(this.$this._html0$_controller.__StreamChannelController__local, "_local").__GuaranteeChannel__sink, "_sink").close$0(0); }, $signature: 65 }; @@ -24370,7 +24190,7 @@ t3.lastPendingEvent = t4; } } - B.JSArray_methods.clear$0(buffer); + B.JSArray_methods.set$length(buffer, 0); } lastSendTime = lastSendTime0; } @@ -24487,7 +24307,7 @@ t2 = $.$get$serializers(); t3 = new A.ConnectRequestBuilder(); type$.legacy_void_Function_legacy_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); + A._trySendEvent(t1, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(t3._build$0()), null), type$.dynamic); } else A.runMain(); self.window.top.document.dispatchEvent(A.CustomEvent_CustomEvent("dart-app-ready")); @@ -24514,7 +24334,7 @@ t2 = $.$get$serializers(); t3 = new A.BatchedDebugEventsBuilder(); type$.legacy_void_Function_legacy_BatchedDebugEventsBuilder._as(new A.main___closure2(events)).call$1(t3); - A._trySendEvent(t1, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(t3.build$0()), null), type$.dynamic); + A._trySendEvent(t1, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(t3._debug_event$_build$0()), null), type$.dynamic); } }, $signature: 69 @@ -24537,7 +24357,7 @@ t1 = this.debugEventController._inputController; t2 = new A.DebugEventBuilder(); type$.legacy_void_Function_legacy_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.build$0(), type$.legacy_DebugEvent); + A._trySendEvent(new A._StreamSinkWrapper(t1, A._instanceType(t1)._eval$1("_StreamSinkWrapper<1>")), t2._debug_event$_build$0(), type$.legacy_DebugEvent); } }, $signature: 71 @@ -24560,7 +24380,7 @@ t2 = $.$get$serializers(); t3 = new A.RegisterEventBuilder(); type$.legacy_void_Function_legacy_RegisterEventBuilder._as(new A.main___closure0(eventData)).call$1(t3); - A._trySendEvent(t1, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(t3.build$0()), null), type$.dynamic); + A._trySendEvent(t1, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(t3._register_event$_build$0()), null), type$.dynamic); }, $signature: 73 }; @@ -24584,7 +24404,7 @@ t2 = $.$get$serializers(); t3 = new A.DevToolsRequestBuilder(); type$.legacy_void_Function_legacy_DevToolsRequestBuilder._as(new A.main___closure()).call$1(t3); - A._trySendEvent(t1, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(t3.build$0()), null), type$.dynamic); + A._trySendEvent(t1, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(t3._devtools_request$_build$0()), null), type$.dynamic); }, $signature: 2 }; @@ -24785,7 +24605,7 @@ t1 = $async$self._client.get$sink(); t2 = $.$get$serializers(); type$.legacy_void_Function_legacy_IsolateExitBuilder._as(null); - t1.add$1(0, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(new A.IsolateExitBuilder().build$0()), 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); case 3: @@ -24813,7 +24633,7 @@ t1 = this._client.get$sink(); t2 = $.$get$serializers(); type$.legacy_void_Function_legacy_IsolateStartBuilder._as(null); - t1.add$1(0, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(new A.IsolateStartBuilder().build$0()), null)); + t1.add$1(0, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(new A.IsolateStartBuilder()._isolate_events$_build$0()), null)); } }; A.Promise.prototype = {}; diff --git a/dwds/lib/src/version.dart b/dwds/lib/src/version.dart index dd6722a5b..859aa1994 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.1'; +const packageVersion = '14.0.2'; diff --git a/dwds/pubspec.yaml b/dwds/pubspec.yaml index 6bd96b754..688c32adb 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.1 +version: 14.0.2 description: >- A service that proxies between the Chrome debug protocol and the Dart VM service protocol.