LiveServerResponse class

A single response chunk received during a live content generation.

Available extensions

Constructors

LiveServerResponse({required LiveServerMessage message})

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → LiveServerMessage
The server message generated by the live model.
final
rawMessage → LiveServerMessage?

Available on LiveServerResponse, provided by the GeminiLiveResponseExtras extension

The full core message this response was converted from, including fields firebase_ai drops (usage metadata, grounding, voice activity).
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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