TranscriberMessage constructor

TranscriberMessage({
  1. required String segmentId,
  2. String speakerUserId = '',
  3. String speakerUserName = '',
  4. String sourceText = '',
  5. Map<TranslationLanguage, String>? translationTexts,
  6. int timestamp = 0,
  7. bool isCompleted = false,
})

Implementation

TranscriberMessage({
  required this.segmentId,
  this.speakerUserId = '',
  this.speakerUserName = '',
  this.sourceText = '',
  Map<TranslationLanguage, String>? translationTexts,
  this.timestamp = 0,
  this.isCompleted = false,
}) : translationTexts = translationTexts ?? {};