| Index: tools/dom/templates/immutable_list_mixin.darttemplate
|
| diff --git a/tools/dom/templates/immutable_list_mixin.darttemplate b/tools/dom/templates/immutable_list_mixin.darttemplate
|
| index 850c2f82ab3a785cfedf13e1b84796ab0f3a5c85..0c0658b7ed6e58b32d31a74f27f414c280955637 100644
|
| --- a/tools/dom/templates/immutable_list_mixin.darttemplate
|
| +++ b/tools/dom/templates/immutable_list_mixin.darttemplate
|
| @@ -42,7 +42,9 @@ $endif
|
|
|
| bool any(bool f($E element)) => IterableMixinWorkaround.any(this, f);
|
|
|
| - List<$E> toList() => new List<$E>.from(this);
|
| + List<$E> toList({ bool growable: false }) =>
|
| + new List<$E>.from(this, growable: growable);
|
| +
|
| Set<$E> toSet() => new Set<$E>.from(this);
|
|
|
| bool get isEmpty => this.length == 0;
|
|
|