FunctionInvocationResult class
The result of a function invocation.
Constructors
- FunctionInvocationResult({required FunctionInvocationStatus status, required FunctionCallContent callContent, Object? result, Object? exception, bool terminate = false})
- Creates a new FunctionInvocationResult.
Properties
- callContent → FunctionCallContent
-
The original function call content.
final
- exception → Object?
-
The exception that occurred, if any.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- result → Object?
-
The result of the function invocation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → FunctionInvocationStatus
-
The status of the invocation.
final
- terminate ↔ bool
-
Whether to terminate the function invocation loop.
getter/setter pair
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