dispose method

Future<bool> dispose()

dispose

Implementation

Future<bool> dispose() async {
  if (!_supportPlatform || !_isInitialize) return false;
  _channel.setMethodCallHandler(null);
  final bool? state = await _channel.invokeMethod('dispose');
  return state ?? false;
}