removeDependencyT method
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);
}