EntityResolutionRules constructor

const EntityResolutionRules({
  1. bool? allowEntityFetch,
  2. bool allowReadFile = false,
  3. List<Type>? lazyEntityTypes,
  4. List<Type>? eagerEntityTypes,
  5. bool? allLazy,
  6. bool? allEager,
  7. bool mergeTolerant = false,
})

Implementation

const EntityResolutionRules(
    {bool? allowEntityFetch,
    this.allowReadFile = false,
    this.lazyEntityTypes,
    this.eagerEntityTypes,
    this.allLazy,
    this.allEager,
    this.mergeTolerant = false})
    : _allowEntityFetch = allowEntityFetch,
      super((allowEntityFetch != null ||
              allEager != null ||
              allLazy != null ||
              allowReadFile ||
              mergeTolerant)
          ? false
          : (lazyEntityTypes == null && eagerEntityTypes == null)
              ? true
              : null);