MethodChannelLocationPermission class
- Inheritance
-
- Object
- PlatformInterface
- LocationPermissionPlatform
- MethodChannelLocationPermission
Constructors
- MethodChannelLocationPermission()
-
factory
- MethodChannelLocationPermission.private(EventChannel _permissionEventChannel)
- This constructor is only used for testing and shouldn't be accessed by users of the plugin. It may break or change at any time.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getLocationPermissionStatus(
) → Future< LocationPermissionData?> -
Get the permission status of the app
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onLocationPermissionChanged(
) → Stream< LocationPermissionData?> -
Return a stream of the user's locationPermission.
override
-
requestLocationPermission(
LocationPermission locationPermission) → Future< LocationPermissionData?> -
Request location permission for the app
LocationPermissionData
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited