hasPermission method
Whether microphone + speech-recognition permission has already been granted.
Implementation
@override
Future<bool> hasPermission() async {
final granted = await methodChannel.invokeMethod<bool>('hasPermission');
return granted ?? false;
}