ActionExecution.fromJson constructor
ActionExecution.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ActionExecution.fromJson(Map<String, dynamic> json) {
return ActionExecution(
actionExecutionId: json['actionExecutionId'] as String?,
errorDetails: json['errorDetails'] != null
? ErrorDetails.fromJson(json['errorDetails'] as Map<String, dynamic>)
: null,
externalExecutionId: json['externalExecutionId'] as String?,
externalExecutionUrl: json['externalExecutionUrl'] as String?,
lastStatusChange: timeStampFromJson(json['lastStatusChange']),
lastUpdatedBy: json['lastUpdatedBy'] as String?,
percentComplete: json['percentComplete'] as int?,
status: (json['status'] as String?)?.toActionExecutionStatus(),
summary: json['summary'] as String?,
token: json['token'] as String?,
);
}