check method

void check ()

Implementation

void check() {
  if (!isInitialized()) {
    List<String> invalidFields = <String>[];
    _fieldSet._appendInvalidFields(invalidFields, "");
    String missingFields = (invalidFields..sort()).join(', ');
    throw new StateError('Message missing required fields: $missingFields');
  }
}