PermissionFailure constructor
const
PermissionFailure({
- String message = 'Permission denied.',
- String? hint = 'Please allow permissions from the app settings.',
- int? code,
- FailureLevel level = FailureLevel.warning,
- String? source = 'Permissions',
- 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,
});