ResponseCompleted class
Emitted once the model has fully finished generating a response.
- Inheritance
-
- Object
- ResponseEvent
- ResponseCompleted
Constructors
- ResponseCompleted.new({required Response response, required int sequenceNumber})
-
const
-
ResponseCompleted.fromJson(Map<
String, dynamic> json) -
Parse from JSON.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- response → Response
-
The fully materialised response object.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequenceNumber → int
-
Monotonically increasing event index.
final
- type → String
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited