AuthorizationStatus class
Enum class for showing status about authorization.
Constructors
- AuthorizationStatus.init(String value, {bool isAndroid = false, bool isIOS = false})
-
const
- AuthorizationStatus.parse(String value)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isAndroid → bool
-
This will
true
only if this authorization status suit Android system.final - isIOS → bool
-
This will
true
only if this authorization status suit iOS system.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The defined String value of the authorization status.
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.
override
Constants
- allowed → const AuthorizationStatus
- Shows that user allowed the authorization.
- always → const AuthorizationStatus
- Shows that user always authorize app.
- denied → const AuthorizationStatus
- Shows that user denied authorization request.
- notDetermined → const AuthorizationStatus
- Shows that authorization has not been determined by user.
- restricted → const AuthorizationStatus
- Shows that authorization has been restricted by system.
- whenInUse → const AuthorizationStatus
- Shows that user authorize when in use app.