Skip to content

Commit 89411d0

Browse files
gnpricepull[bot]
authored andcommitted
Fix copy-paste-o in MethodChannel.invokeListMethod doc (flutter#149976)
This sentence didn't make a lot of sense as written. It looks like it was probably based on the doc of invokeMapMethod, and then incompletely adapted. So, fix it.
1 parent 79f1c93 commit 89411d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/flutter/lib/src/services/platform_channel.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ class MethodChannel {
511511
///
512512
/// Dart generics are reified, meaning that an untyped `List<dynamic>` cannot
513513
/// masquerade as a `List<T>`. Since [invokeMethod] can only return dynamic
514-
/// maps, we instead create a new typed list using [List.cast].
514+
/// lists, we instead create a new typed list using [List.cast].
515515
///
516516
/// See also:
517517
///

0 commit comments

Comments
 (0)