hasService method

bool hasService(
  1. String serviceName
)

Check if a service exists

Implementation

bool hasService(String serviceName) => _services.containsKey(serviceName);