PermissionRequestOption constructor

const PermissionRequestOption({
  1. IosAccessLevel iosAccessLevel = IosAccessLevel.readWrite,
  2. AndroidPermission androidPermission = const AndroidPermission(type: RequestType.common, mediaLocation: false),
  3. List<String> ohosPermissions = PMConstants.vDefaultOhosPermissions,
})

Implementation

const PermissionRequestOption({
  this.iosAccessLevel = IosAccessLevel.readWrite,
  this.androidPermission = const AndroidPermission(
    type: RequestType.common,
    mediaLocation: false,
  ),
  this.ohosPermissions = PMConstants.vDefaultOhosPermissions,
});