hasRelation method

bool hasRelation(
  1. String relation
)

Check if a relation is being eager loaded

Implementation

bool hasRelation(String relation) => _withRelations.contains(relation);