checkPermission method

Future<bool> checkPermission()

platform call to check microphone permission

Implementation

Future<bool> checkPermission() async {
  var hasPermission =
      await _methodChannel.invokeMethod(Constants.checkPermission);
  return hasPermission ?? false;
}