child method
Implementation
DI child({Entity groupEntity = const DefaultEntity()}) {
UNSAFE:
{
if (isChildRegistered(groupEntity: groupEntity)) {
return getChild(groupEntity: groupEntity).unwrap().unwrap();
}
registerChild(groupEntity: groupEntity).end();
return getChild(groupEntity: groupEntity).unwrap().unwrap();
}
}