stop method

  1. @override
Future<void> stop()

Stops the service.

Implementation

@override
Future<void> stop() async {
  if (!_started) return;
  await sync();
  _started = false;
}