dispose method

Future<void> dispose()

Dispose of this handle and clean up resources.

Called automatically when NutrientView is disposed.

Implementation

Future<void> dispose() async {
  NativeInstanceRegistry.unregister(viewId);
}