Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 9812cc3

Browse files
author
Dart CI
committed
Version 2.13.0-96.0.dev
Merge commit '32255a579bdf04efaa26108fa405ca2cdcf433f6' into 'dev'
2 parents fbbc4ff + 32255a5 commit 9812cc3

File tree

65 files changed

+6527
-5228
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+6527
-5228
lines changed

benchmarks/FfiCall/dart/FfiCall.dart

Lines changed: 557 additions & 742 deletions
Large diffs are not rendered by default.

benchmarks/FfiCall/dart2/FfiCall.dart

Lines changed: 544 additions & 738 deletions
Large diffs are not rendered by default.

pkg/analysis_server/lib/lsp_protocol/protocol_custom_generated.dart

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ class FlutterOutline implements ToJsonable {
838838
__result['variableName'] = variableName;
839839
}
840840
if (attributes != null) {
841-
__result['attributes'] = attributes;
841+
__result['attributes'] = attributes.map((item) => item.toJson()).toList();
842842
}
843843
if (dartElement != null) {
844844
__result['dartElement'] = dartElement.toJson();
@@ -848,7 +848,7 @@ class FlutterOutline implements ToJsonable {
848848
__result['codeRange'] =
849849
codeRange?.toJson() ?? (throw 'codeRange is required but was not set');
850850
if (children != null) {
851-
__result['children'] = children;
851+
__result['children'] = children.map((item) => item.toJson()).toList();
852852
}
853853
return __result;
854854
}
@@ -1178,7 +1178,7 @@ class Outline implements ToJsonable {
11781178
__result['codeRange'] =
11791179
codeRange?.toJson() ?? (throw 'codeRange is required but was not set');
11801180
if (children != null) {
1181-
__result['children'] = children;
1181+
__result['children'] = children.map((item) => item.toJson()).toList();
11821182
}
11831183
return __result;
11841184
}
@@ -1309,7 +1309,8 @@ class PublishClosingLabelsParams implements ToJsonable {
13091309
Map<String, dynamic> toJson() {
13101310
var __result = <String, dynamic>{};
13111311
__result['uri'] = uri ?? (throw 'uri is required but was not set');
1312-
__result['labels'] = labels ?? (throw 'labels is required but was not set');
1312+
__result['labels'] = labels?.map((item) => item.toJson())?.toList() ??
1313+
(throw 'labels is required but was not set');
13131314
return __result;
13141315
}
13151316

0 commit comments

Comments
 (0)