remove method

void remove(
  1. Service service
)

Implementation

void remove(Service service) {
  final existing = _services.firstWhereOrNull((e) => isSame(e, service));
  if (existing != null) {
    _services.remove(existing);
    _notifyAllListeners(existing, ServiceStatus.lost);
  }
}