046c968b14
It looks like PluginCommunicationChannel.listen cannot do anything with `onError`, so don't pass anything as if it did. See ReceivePort.listen docs as well: https://api.dart.dev/dev/latest/dart-isolate/ReceivePort/listen.html Change-Id: Iaaf1169a1f05774f63bdcea4c91a82dfb9e47227 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/396526 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>