getFactoryOrNull<T extends Object> method

FutureOr<T>? getFactoryOrNull<T extends Object>({
  1. Entity<Object>? groupEntity,
  2. bool traverse = true,
})
inherited

Implementation

FutureOr<T>? getFactoryOrNull<T extends Object>({
  Entity? groupEntity,
  bool traverse = true,
}) {
  return getOrNull<Lazy<T>>(
    groupEntity: groupEntity,
    traverse: traverse,
  )?.asSyncOrNull?.factory;
}