Fix copy-paste-o in MethodChannel.invokeListMethod doc (#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.
This commit is contained in:
@@ -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:
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user