FunctionCallArgumentsDoneEvent class

Event emitted when function call arguments are complete.

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

FunctionCallArgumentsDoneEvent({required int outputIndex, required String arguments, String? itemId, String? name, int? sequenceNumber})
Creates a FunctionCallArgumentsDoneEvent.
const
FunctionCallArgumentsDoneEvent.fromJson(Map<String, dynamic> json)
Creates a FunctionCallArgumentsDoneEvent from JSON.
factory

Properties

arguments String
The complete arguments.
final
finalResponse Response?

Available on ResponseStreamEvent, provided by the ResponseStreamEventExtensions extension

Returns the final response if this is a completion event.
no setter
hashCode int
The hash code for this object.
no setteroverride
isFinal bool
Whether this event signals the end of the stream.
no setterinherited
itemId String?
The ID of the function call item.
final
name String?
The name of the function being called.
final
outputIndex int
The index of the output item.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequenceNumber int?
The sequence number for ordering events.
final
textDelta String?

Available on ResponseStreamEvent, provided by the ResponseStreamEventExtensions extension

Returns the text delta if this is a text delta event.
no setter
type String
The type of the event.
no setteroverride

Methods

copyWith({int? outputIndex, String? arguments, Object? itemId = unsetCopyWithValue, Object? name = unsetCopyWithValue, Object? sequenceNumber = unsetCopyWithValue}) FunctionCallArgumentsDoneEvent
Creates a copy with replaced values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON.
override
toString() String
A string representation of this object.
override

Operators

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