getDependencyT method

  1. @protected
Option<Dependency<Object>> getDependencyT(
  1. Type type, {
  2. Entity groupEntity = const DefaultEntity(),
})

Returns any dependency with the exact type under the specified groupEntity. Unlike getDependency, this will not include subtypes.

Implementation

@protected
@pragma('vm:prefer-inline')
Option<Dependency> getDependencyT(
  Type type, {
  Entity groupEntity = const DefaultEntity(),
}) {
  return getDependencyK(TypeEntity(type), groupEntity: groupEntity);
}