InvocationResponse class

Constructors

InvocationResponse({String? executedVersion, String? functionError, String? logResult, Uint8List? payload, int? statusCode})

Properties

executedVersion String?
The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.
final
functionError String?
If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.
final
hashCode int
The hash code for this object.
no setterinherited
logResult String?
The last 4 KB of the execution log, which is base64 encoded.
final
payload Uint8List?
The response from the function, or an error object.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int?
The HTTP status code is in the 200 range for a successful request. For the RequestResponse invocation type, this status code is 200. For the Event invocation type, this status code is 202. For the DryRun invocation type, the status code is 204.
final

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