handleMethodCall method
Handles method calls from the method channel.
Implementation
Future<dynamic> handleMethodCall(final MethodCall call) async {
switch (call.method) {
case 'getPlatformVersion':
return 'Web';
default:
throw PlatformException(
code: 'Unimplemented',
details:
"vosk_flutter_service for web doesn't implement "
"'${call.method}'",
);
}
}