destroyLocations static method

Future<bool> destroyLocations()

Remove all records in plugin's SQLite database.

Example

bool success = BackgroundGeolocation.destroyLocations();

Implementation

static Future<bool> destroyLocations() async {
  return (await _methodChannel.invokeMethod<bool>('destroyLocations'))
      as FutureOr<bool>;
}