diff --git a/sdk/lib/core/list.dart b/sdk/lib/core/list.dart index 585845a68cb..8ac4701bf1e 100644 --- a/sdk/lib/core/list.dart +++ b/sdk/lib/core/list.dart @@ -137,7 +137,7 @@ abstract class List implements EfficientLengthIterable { /// ```dart /// List dynList = ...some JSON value...; /// List> fooList = - /// List.from(dynList.where((x) => x is Map && map["kind"] == "foo")); + /// List.from(dynList.where((x) => x is Map && x["kind"] == "foo")); /// ``` /// /// This constructor creates a growable list when [growable] is true;