TranscriberMessage class

Transcription message structure.

Constructors

TranscriberMessage({required String segmentId, required String speakerUserId, required String sourceText, required Map<String, String> translationTexts, required int timestamp, required bool isCompleted})
TranscriberMessage.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isCompleted bool
Whether the transcription is completed. true: sentence completed, false: intermediate result.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segmentId String
Unique ID of the message segment.
getter/setter pair
sourceText String
Recognized source language text (Unicode encoded).
getter/setter pair
speakerUserId String
User ID of the speaker.
getter/setter pair
timestamp int
UTC timestamp in milliseconds.
getter/setter pair
translationTexts Map<String, String>
Translated texts mapped by language code.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited