dispose method
Implementation
@override
Future<void> dispose() async {
try {
await methodChannel.invokeMethod('dispose');
} on PlatformException catch (e) {
throw InitializationException(
e.message ?? 'Failed to dispose resources',
code: e.code,
details: e.details,
);
}
}