getFactoryOrNullT method

FutureOr<Object>? getFactoryOrNullT(
  1. Type type, {
  2. Entity<Object>? groupEntity,
  3. bool traverse = true,
})
inherited

Implementation

FutureOr<Object>? getFactoryOrNullT(
  Type type, {
  Entity? groupEntity,
  bool traverse = true,
}) {
  return (getOrNullK(
    Entity.type(Lazy, [type]),
    groupEntity: groupEntity,
    traverse: traverse,
  ) as Lazy?)
      ?.factory;
}