copyWith method
EntityResolutionRules
copyWith({
- bool? allowEntityFetch,
- bool? allowReadFile,
- List<
Type> ? lazyEntityTypes, - List<
Type> ? eagerEntityTypes, - bool? allLazy,
- bool? allEager,
- bool? mergeTolerant,
- List<
Type> ? conflictingEntityTypes,
override
Copies this instance, allowing fields overwrite.
conflictingEntityTypes
informs the Types to remove fromlazyEntityTypes
andeagerEntityTypes
.
Implementation
@override
EntityResolutionRules copyWith(
{bool? allowEntityFetch,
bool? allowReadFile,
List<Type>? lazyEntityTypes,
List<Type>? eagerEntityTypes,
bool? allLazy,
bool? allEager,
bool? mergeTolerant,
List<Type>? conflictingEntityTypes}) =>
resolved.copyWith(
allowEntityFetch: allowEntityFetch,
allowReadFile: allowReadFile,
lazyEntityTypes: lazyEntityTypes,
eagerEntityTypes: eagerEntityTypes,
allLazy: allLazy,
allEager: allEager,
mergeTolerant: mergeTolerant,
conflictingEntityTypes: conflictingEntityTypes);