RealtimeResponse class

Constructors

RealtimeResponse.new({required String id, required String object, String? status, RealtimeResponseStatusDetails? statusDetails, List<RealtimeConversationItem>? output, Map<String, dynamic>? metadata, ResponseAudioOptions? audio, RealtimeResponseUsage? usage, String? conversationId, List<Modality>? outputModalities, dynamic maxOutputTokens})
const
RealtimeResponse.fromJson(Map<String, dynamic> json)
factory

Properties

audio ResponseAudioOptions?
final
conversationId String?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
maxOutputTokens → dynamic
final
metadata Map<String, dynamic>?
final
object String
final
output List<RealtimeConversationItem>?
final
outputModalities List<Modality>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
final
statusDetails RealtimeResponseStatusDetails?
final
usage RealtimeResponseUsage?
final

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