hasPermissions property

Future<bool?> hasPermissions

Returns the result of record permission if not determined(app first launch), this will ask user to whether grant the permission

Implementation

static Future<bool?> get hasPermissions async {
  bool? hasPermission = await _channel.invokeMethod('hasPermissions');
  print(hasPermission);
  return hasPermission;
}