joinAsSingleOutput method

String joinAsSingleOutput()

Implementation

String joinAsSingleOutput() {
  final buffer = StringBuffer();
  buffer.writeln(header);
  buffer.writeln('// translations');
  for (final localeTranslations in translations.values) {
    buffer.write(localeTranslations);
  }
  if (flatMap != null) {
    buffer.writeln();
    buffer.write(flatMap);
  }
  return buffer.toString();
}