plugins.dart
plugins.dart copied to clipboard
Use new Isolate APIs
You should consider using the brand new Isolate APIs. This includes Isolate.kill and Isolate.addOnExitListener.
Also, you should probably handle plugin errors via Isolate.addErrorListener
https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart:isolate.Isolate