dispose method

  1. @override
Future<void> dispose()

Releases all resources held by this bindings instance.

Implementation

@override
Future<void> dispose() async {
  final handle = _handle;
  if (handle != null) {
    _bindings.free(handle);
    _handle = null;
    _handleId = null;
  }
}