matchesEntity method

bool matchesEntity(
  1. NSEntity entity
)

Implementation

bool matchesEntity(NSEntity entity) {
  if (_orBranches.isEmpty) {
    return true;
  }
  for (final branch in _orBranches) {
    if (_branchMatches(branch, entity)) {
      return true;
    }
  }
  return false;
}