findDescriptors method

List<ServiceDescriptor> findDescriptors(
  1. Type type
)

Returns all service descriptors which bind to type.

Implementation

List<ServiceDescriptor> findDescriptors(Type type) => serviceDescriptors
    .where((element) => element.bindingType == type)
    .toList();