hasPermission method

Future<bool> hasPermission()

Checks and requests for audio record permission.

Implementation

Future<bool> hasPermission() async {
  _created ??= await _create();
  return RecordPlatform.instance.hasPermission(_recorderId);
}