PermissionSetParameters constructor

PermissionSetParameters({
  1. required PermissionDescriptor descriptor,
  2. required PermissionState state,
  3. bool? oneRealm,
})

Implementation

factory PermissionSetParameters(
        {required PermissionDescriptor descriptor,
        required PermissionState state,
        bool? oneRealm}) =>
    PermissionSetParameters._(
        descriptor: descriptor,
        state: state.value,
        oneRealm: oneRealm ?? false);