PermissionAppException class final

Исключение разрешений.

Бросается при отсутствии или запрете разрешений ОС. Маппится в Failure.permission через DomainExceptionFailureMapper.

type — тип ошибки разрешения. permission — имя разрешения (опционально).

Implemented types

Constructors

PermissionAppException(PermissionFailure type, {String? permission})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
permission → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → PermissionFailure
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited