setTranscript method
Sets the transcript of fileId to text (transcript_status = done) and appends
file.updated (12 8.2).
Implementation
void setTranscript(
String fileId,
String text, {
String language = 'en',
String source = 'agent',
}) {
final f = files[fileId]!;
f.transcriptText = text;
f.json
..['transcript_status'] = 'done'
..['transcript_language'] = language
..['transcript_source'] = source;
_fileUpdated(f);
}