Execution.fromMap constructor
Execution.fromMap(
- Map<String, dynamic> map
)
Implementation
factory Execution.fromMap(Map<String, dynamic> map) {
return Execution(
$id: map['\$id'].toString(),
$createdAt: map['\$createdAt'].toString(),
$updatedAt: map['\$updatedAt'].toString(),
$permissions: map['\$permissions'],
functionId: map['functionId'].toString(),
trigger: map['trigger'].toString(),
status: map['status'].toString(),
statusCode: map['statusCode'],
response: map['response'].toString(),
stdout: map['stdout'].toString(),
stderr: map['stderr'].toString(),
duration: map['duration'].toDouble(),
);
}