stop method

Future<bool> stop()

Stops all location updates and releases the GPS hardware.

Implementation

Future<bool> stop() async {
  final success = await NexoraSdkPlatform.instance.stopLocation();
  if (success) _isRunning = false;
  return success;
}