WhisperSegment class
Represents a segment of transcribed audio
Constructors
- WhisperSegment({required double start, required double end, required String text})
-
const
-
WhisperSegment.fromJson(Map<
String, dynamic> json) -
Creates a WhisperSegment from JSON
factory
Properties
- end → double
-
The end time of the segment in seconds
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → double
-
The start time of the segment in seconds
final
- text → String
-
The transcribed text for this segment
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the segment to JSON
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited