findService method

UpnpHostService? findService(
  1. String? name
)

Implementation

UpnpHostService? findService(String? name) {
  return services.firstWhereOrNull(
    (service) => service.simpleName == name || service.id == name
  );
}