stop method

  1. @override
FutureOr<bool> stop()
override

The stop operation.

Implementation

@override
FutureOr<bool> stop() async {
  if (_started == null) return false;
  if (_stopped) return true;

  bool ok = await stopImpl();

  _stopped = true;

  _log.info('** STOPPED[$ok]> $this');
  return ok;
}