destroy method
销毁
Implementation
Future<void> destroy() async {
await _channel.invokeMethod('destroy');
await _sub?.cancel();
_sub = null;
}
销毁
Future<void> destroy() async {
await _channel.invokeMethod('destroy');
await _sub?.cancel();
_sub = null;
}