checkResolved method

void checkResolved()

Throws an exception if resolve hasn't been called yet.

Implementation

void checkResolved() {
  if (!_resolved) {
    throw StateError('message not resolved: $fullName');
  }
}