findServices<T extends PublicationService> method

Iterable<T> findServices<T extends PublicationService>()

Returns all the publication services that are instances of Type.

Implementation

Iterable<T> findServices<T extends PublicationService>() =>
    _services.where((service) => service.serviceType == T).whereType<T>();