toMap method
Implementation
Map<String, dynamic> toMap() {
return {
"\$id": $id,
"\$createdAt": $createdAt,
"\$updatedAt": $updatedAt,
"\$permissions": $permissions,
"functionId": functionId,
"trigger": trigger,
"status": status,
"statusCode": statusCode,
"response": response,
"stdout": stdout,
"stderr": stderr,
"duration": duration,
};
}