removeDependencyT method

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

Removes the first dependency of type T (or its subtypes) found under the specified groupEntity. If the group becomes empty after removal, the group itself is removed.

Implementation

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