count property

Future<int> get count

Retrive the count of all locations current stored in the plugin's SQLite database.

Example

int count = await BackgroundGeolocation.count;

Implementation

static Future<int> get count async {
  return (await _methodChannel.invokeMethod<int>('getCount'))
      as FutureOr<int>;
}