TranscriptionItem class

A chunk of transcription data of the user or ai.

Meaning the same id will appear multiple times until one is completed.

Constructors

TranscriptionItem.new({required String? itemId, required String? eventId, required String? responseId, required String text, required Role role, required int? contentIndex, required int? outputIndex})
TranscriptionItem.fromMap(Map<String, dynamic> map, {required Role role})
factory

Properties

contentIndex int?
getter/setter pair
eventId String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
itemId String?
getter/setter pair
outputIndex int?
getter/setter pair
responseId String?
getter/setter pair
role Role
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
getter/setter pair

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