PermissionStatus enum

Represents the status of the location permission on the device

Inheritance
Available extensions

Values

granted → const PermissionStatus

Permission is granted

denied → const PermissionStatus

Permission is denied but can be requested again.

permanentlyDenied → const PermissionStatus

Permission is denied and cannot be requested again without user intervention.

notDetermined → const PermissionStatus

User has not yet made a choice with regards to this application.

restricted → const PermissionStatus

This application is not authorized to use location services due to active restrictions.

limited → const PermissionStatus

On Android Q and above, represents that only foreground location permission is granted, and background access is denied.

notSpecified → const PermissionStatus

We have no information from the device about the permission status

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

values → const List<PermissionStatus>
A constant List of the values in this enum, in order of their declaration.