CoffeeMapboxLocationPermissionStatus class
Represents the current state of location permissions in Coffee Mapbox.
Contains information about both foreground and background permissions, as well as whether the user has permanently denied access.
Constructors
- CoffeeMapboxLocationPermissionStatus({required bool foregroundPermissionEnabled, required bool backgroundPermissionEnabled, required bool permanentlyDenied})
-
Creates a new CoffeeMapboxLocationPermissionStatus instance.
const
- CoffeeMapboxLocationPermissionStatus.fromMap(Map map)
-
Creates a
LocationPermissionStatusfrom a map, typically returned from the native platform.factory
Properties
- backgroundPermissionEnabled → bool
-
Indicates if background location permission is enabled.
final
- foregroundPermissionEnabled → bool
-
Indicates if foreground location permission is enabled.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- permanentlyDenied → bool
-
Indicates if the permission has been permanently denied by the user.
final
- 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
-
toMap(
) → Map< String, dynamic> - Converts this instance into a map for sending to native code or serialization.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited