getRequiredKeyedService<T> method
Get service of type T from the ServiceProvider.
Implementation
T getRequiredKeyedService<T>(Object? serviceKey) =>
getRequiredKeyedServiceFromType(T, serviceKey) as T;
Get service of type T from the ServiceProvider.
T getRequiredKeyedService<T>(Object? serviceKey) =>
getRequiredKeyedServiceFromType(T, serviceKey) as T;