dispose method
Implementation
@override
Future<void> dispose(int viewId) async {
try {
var methodChannel = MethodChannel('${channelPrefix}_$viewId');
await methodChannel.invokeMethod<void>('dispose');
} on PlatformException catch (e) {
debugPrint('${e.code}: ${e.message}');
}
}