sync static method

Future<bool> sync()

Triggers an immediate sync of pending locations.

Implementation

static Future<bool> sync() async {
  final result = await LocusChannels.methods.invokeMethod('sync');
  return result == true;
}