Skip to content

Commit

Permalink
Fix copy-paste-o in MethodChannel.invokeListMethod doc (#149976)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gnprice authored Jun 10, 2024
1 parent b889e3a commit 56cd396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/services/platform_channel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ class MethodChannel {
///
/// Dart generics are reified, meaning that an untyped `List<dynamic>` cannot
/// masquerade as a `List<T>`. Since [invokeMethod] can only return dynamic
/// maps, we instead create a new typed list using [List.cast].
/// lists, we instead create a new typed list using [List.cast].
///
/// See also:
///
Expand Down

0 comments on commit 56cd396

Please sign in to comment.