From 56cd39643354ce24215d1b54af0d6c7a0bc0ccec Mon Sep 17 00:00:00 2001 From: Greg Price Date: Mon, 10 Jun 2024 15:43:55 -0700 Subject: [PATCH] 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. --- packages/flutter/lib/src/services/platform_channel.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/services/platform_channel.dart b/packages/flutter/lib/src/services/platform_channel.dart index ce7e89ad31..2b8c48ede7 100644 --- a/packages/flutter/lib/src/services/platform_channel.dart +++ b/packages/flutter/lib/src/services/platform_channel.dart @@ -511,7 +511,7 @@ class MethodChannel { /// /// Dart generics are reified, meaning that an untyped `List` cannot /// masquerade as a `List`. 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: ///