stopService method

void stopService(
  1. String id
)

Stops the service with the given id.

Implementation

void stopService(String id) {
  _services[id]?.stop();
  _services.remove(id);
  _permanentServices.remove(id);
}