PermissionFailure constructor

const PermissionFailure({
  1. String message = 'Permission denied.',
  2. String? hint = 'Please allow permissions from the app settings.',
  3. int? code,
  4. FailureLevel level = FailureLevel.warning,
  5. String? source = 'Permissions',
  6. StackTrace? stackTrace,
})

Implementation

const PermissionFailure({
  super.message = 'Permission denied.',
  super.hint = 'Please allow permissions from the app settings.',
  super.code,
  super.level = FailureLevel.warning,
  super.source = 'Permissions',
  super.stackTrace,
});