SessionResumptionUpdate class final

Update of the session resumption state.

Only sent if BidiGenerateContentSetup.session_resumption was set.

Inheritance
  • Object
  • ProtoMessage
  • SessionResumptionUpdate

Constructors

SessionResumptionUpdate({String newHandle = '', bool resumable = false})
SessionResumptionUpdate.fromJson(Object? j)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
newHandle String
New handle that represents a state that can be resumed. Empty if resumable=false.
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
resumable bool
True if the current session can be resumed at this point.
final
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
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

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

Constants

fullyQualifiedName → const String