TrackivaStorage class
Offline storage for location data
Constructors
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
-
clearAll(
) → Future< void> - Clear all locations
-
close(
) → Future< void> - Close database
-
deleteOldSyncedLocations(
int daysOld) → Future< void> - Delete synced locations older than specified days
-
getPendingCount(
) → Future< int> - Get count of pending locations
-
getPendingLocations(
) → Future< List< Map< >String, dynamic> > - Get all pending (unsynced) locations
-
initialize(
) → Future< void> - Initialize the database
-
markLocationAsSynced(
int id) → Future< void> - Mark location as synced
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveLocation(
LocationData location, Map< String, dynamic> metadata) → Future<int> - Save location to database
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited