locations property

Future<List> get locations

Retrive a List of Location currently stored in the plugin's SQLite database.

Example

List locations = await BackgroundGeolocation.locations;

Implementation

static Future<List> get locations async {
  return (await _methodChannel.invokeListMethod('getLocations'))!;
}