diff --git a/lib/ui/platform_dispatcher.dart b/lib/ui/platform_dispatcher.dart index 20349ded2fe43..6ffc0c5959f8e 100644 --- a/lib/ui/platform_dispatcher.dart +++ b/lib/ui/platform_dispatcher.dart @@ -1156,8 +1156,7 @@ class PlatformDispatcher { /// /// This callback is not directly invoked by errors in child isolates of the /// root isolate. Programs that create new isolates must listen for errors on - /// those isolates and forward the errors to the root isolate. An example of - /// this can be found in the Flutter framework's `compute` function. + /// those isolates and forward the errors to the root isolate. ErrorCallback? get onError => _onError; set onError(ErrorCallback? callback) { _onError = callback;