dispose method

Future<void> dispose()

Implementation

Future<void> dispose() async {
  // First stop and release all native resources.
  _channel.setMethodCallHandler(null);
  await _channel.invokeMethod("release");
}