getDartMapValueType method

String getDartMapValueType()

Only for map fields: returns the type to use for Dart map field value type.

Implementation

String getDartMapValueType() {
  assert(isMapField);
  return (baseType.generator as MessageGenerator).fieldList[1].baseType
      .getDartType(parent.fileGen!);
}