isInnocuous property
Returns true
if this instance is equivalent to innocuous instance (no resolution rules to apply).
Implementation
@override
bool get isInnocuous {
var innocuous = _innocuous;
if (innocuous != null) return innocuous;
if (_allowEntityFetch != null ||
allEager != null ||
allLazy != null ||
allowReadFile ||
mergeTolerant) {
return false;
}
final eagerEntityTypes = this.eagerEntityTypes;
final lazyEntityTypes = this.lazyEntityTypes;
return (eagerEntityTypes == null || eagerEntityTypes.isEmpty) &&
(lazyEntityTypes == null || lazyEntityTypes.isEmpty);
}