hasDefinition property

bool get hasDefinition
inherited

Whether a ModelDefinition has been attached to this instance. Always false for untracked models.

Implementation

bool get hasDefinition {
  if (!_isTracked) {
    return false;
  }
  return definition != null;
}