generateFieldsAccessorsMutators method

void generateFieldsAccessorsMutators(
  1. IndentingWriter out
)

Implementation

void generateFieldsAccessorsMutators(IndentingWriter out) {
  for (final oneof in _oneofNames) {
    generateOneofAccessors(out, oneof);
  }

  for (final field in _fieldList) {
    out.println();
    final memberFieldPath = List<int>.from(fieldPath)
      ..addAll([_messageFieldTag, field.sourcePosition!]);
    generateFieldAccessorsMutators(field, out, memberFieldPath);
  }
}