findService<T extends PublicationService> method
T?
findService<T extends PublicationService>()
Returns the first publication service that is an instance of Type.
Implementation
T? findService<T extends PublicationService>() =>
findServices<T>().firstOrNull;