LocationPermission enum
An enumeration of location permission.
Constructors
- LocationPermission()
-
const
Values
- always → const LocationPermission
-
The app can read location at any time.
The app need this permission to read location in the background.
- whileInUse → const LocationPermission
-
The location can only be read while using the app.
- denied → const LocationPermission
-
The location cannot be read because permission is denied.
The app can request runtime permissions again.
- deniedForever → const LocationPermission
-
The location cannot be read because permission is denied.
The app can no longer request runtime permissions and must grant permissions manually.
Properties
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<
LocationPermission> - A constant List of the values in this enum, in order of their declaration.