findDescriptorsExact method

List<ServiceDescriptor> findDescriptorsExact(
  1. Type type
)

Returns all service descriptors which have the implementation class type.

Implementation

List<ServiceDescriptor> findDescriptorsExact(Type type) => serviceDescriptors
    .where((element) => element.serviceType == type)
    .toList();