Jawal class
Constructors
- Jawal()
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
-
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
Static Methods
-
backgroundLocationStatus(
) → Future< PermissionStatus> - Get the current background location permission status @return Future
-
init(
JawalConfig config) → Future< void> - Initialize JawalFlutter with the given config @param config JawalConfig @return Future
-
isTracking(
) → Future< bool> - Check if the user is currently being tracked @return Future
-
locationStatus(
) → Future< PermissionStatus> - Get the current foreground location permission status @return Future
-
onLocationChange(
dynamic callback(LocationChangeEvent)) → void - Listen to location change events @param callback Function(LocationChangeEvent) @return void
-
requestBackgroundLocationPermission(
) → Future< PermissionStatus> - Request background location permission @return Future
-
requestLocationPermission(
) → Future< PermissionStatus> - Request foreground location permission @return Future
-
startTracking(
[String? sessionId]) → Future< void> - Start tracking the user location @return Future
-
stopTracking(
) → Future< void> - Stop tracking the user location @return Future