release method
Frees the interpreter. Best effort; never throws.
Implementation
@override
Future<void> release() async {
try {
await methodChannel.invokeMethod<void>('release');
} on PlatformException {
// Releasing is best effort - there is nothing useful to do if the native
// side has already torn the interpreter down.
} on MissingPluginException {
// Nothing to release when the plugin is not in the binary.
}
}