requestPermission method
Prompts the user for microphone + speech-recognition permission. Returns whether permission was granted.
Implementation
@override
Future<bool> requestPermission() async {
final granted = await methodChannel.invokeMethod<bool>(
'requestPermission',
);
return granted ?? false;
}