type property

Permission type

Implementation

Permission get type {
  switch (this) {
    case PermissionType.location:
      return Permission.location;
    case PermissionType.photos:
      return Permission.photos;
  }
}