getTranscriptFormattedToSave static method
Implementation
static String getTranscriptFormattedToSave(
List<TranscriptionModel> transcriptions) {
StringBuffer contentBuffer = StringBuffer();
for (var entry in transcriptions) {
if (entry.isFinal) {
contentBuffer.writeln('${entry.name} ${entry.timestamp}');
contentBuffer.writeln(entry.transcription);
contentBuffer.writeln();
contentBuffer.writeln();
}
}
return contentBuffer.toString();
}