GenerationCancelled class final

Generation was cancelled by the caller. Terminal — no event follows.

Inheritance

Constructors

GenerationCancelled({String? partial, String requestId = ''})
Carry any partial text produced before cancellation.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
partial String?
Text produced before cancellation, when any was.
final
requestId String
Correlation id for the generation.
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
toString() String
A string representation of this object.
inherited

Operators

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