Execution class

Execution

Implemented types

Constructors

Execution({required String $id, required String $createdAt, required String $updatedAt, required List $permissions, required String functionId, required String trigger, required String status, required int statusCode, required String response, required String stdout, required String stderr, required double duration})
Execution.fromMap(Map<String, dynamic> map)
factory

Properties

$createdAt String
Execution creation date in ISO 8601 format.
final
$id String
Execution ID.
final
$permissions List
Execution roles.
final
$updatedAt String
Execution upate date in ISO 8601 format.
final
duration double
The script execution duration in seconds.
final
functionId String
Function ID.
final
hashCode int
The hash code for this object.
no setterinherited
response String
The script response output string. Logs the last 4,000 characters of the execution response output.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
The status of the function execution. Possible values can be: waiting, processing, completed, or failed.
final
statusCode int
The script status code.
final
stderr String
The script stderr output string. Logs the last 4,000 characters of the execution stderr output. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.
final
stdout String
The script stdout output string. Logs the last 4,000 characters of the execution stdout output. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.
final
trigger String
The trigger that caused the function to execute. Possible values can be: http, schedule, or event.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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