SpeakerSegment class

A segment attributed to a speaker.

Constructors

SpeakerSegment({required String speakerId, required String text, required Duration startTime, required Duration endTime, double? confidence})
const

Properties

confidence double?
Confidence score (0-1).
final
duration Duration
Duration of this segment.
no setter
endTime Duration
End time.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speakerId String
Speaker ID.
final
startTime Duration
Start time.
final
text String
Text spoken.
final
wordCount int
Word count.
no setter

Methods

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

Operators

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