dispose method
Implementation
Future<void> dispose() async {
if (!_bound) return;
_bound = false;
_channel.setMethodCallHandler(null);
try {
await _channel.invokeMethod<void>('unregister');
} on MissingPluginException {
/* No native relay was installed. */
}
}