dispose static method

Future<void> dispose()

Releases Dart-side binding state after unregistering the runtime.

Implementation

static Future<void> dispose() async {
  await unregister();
  _bindings = null;
  _isRegistered = false;
}