isKeyedService abstract method

bool isKeyedService(
  1. Type serviceType,
  2. Object? serviceKey
)

Determines if the specified service type with the specified service key is available from the ServiceProvider.

Implementation

bool isKeyedService(Type serviceType, Object? serviceKey);