poly_geofence_service library

Classes

FlLocation
FlLocationPlatform
The interface that implementations of fl_location must extend.
LatLng
A model representing the latitude and longitude of GPS.
Location
A data class that represents a location model.
LocationUtils
Utility class for plugins that collect location data.
MethodChannelFlLocation
The FlLocationPlatform implementation that delegates to a MethodChannel.
PolyGeofence
A model representing a polygon geofence.
PolyGeofenceService
A class provides polygon geofence management and geo-fencing.
PolyGeofenceServiceOptions
Options for PolyGeofenceService.
PolyUtils

Enums

ErrorCodes
Error codes that may occur in the service.
LocationAccuracy
An enumeration of location accuracy.
LocationPermission
An enumeration of location permission.
LocationServicesStatus
An enumeration of location services status.
PolyGeofenceStatus
Defines the status of the polygon geofence.

Functions

getErrorCodesFromError(dynamic error) ErrorCodes?
Returns the error codes from error.
getErrorCodesFromString(String value) ErrorCodes?
Returns the error codes from value.
getLocationPermissionFromIndex(int? index) LocationPermission
Get LocationPermission from index.
getLocationServicesStatusFromIndex(int? index) LocationServicesStatus
Get LocationServicesStatus from index.

Typedefs

LocationChanged = void Function(Location location)
Callback function to handle location changes.
PolyGeofenceStatusChanged = Future<void> Function(PolyGeofence polyGeofence, PolyGeofenceStatus polyGeofenceStatus, Location location)
Callback function to handle polygon geofence status changes.