DescribeExecutionOutput.fromJson constructor

DescribeExecutionOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DescribeExecutionOutput.fromJson(Map<String, dynamic> json) {
  return DescribeExecutionOutput(
    executionArn: json['executionArn'] as String,
    startDate: nonNullableTimeStampFromJson(json['startDate'] as Object),
    stateMachineArn: json['stateMachineArn'] as String,
    status: (json['status'] as String).toExecutionStatus(),
    input: json['input'] as String?,
    inputDetails: json['inputDetails'] != null
        ? CloudWatchEventsExecutionDataDetails.fromJson(
            json['inputDetails'] as Map<String, dynamic>)
        : null,
    name: json['name'] as String?,
    output: json['output'] as String?,
    outputDetails: json['outputDetails'] != null
        ? CloudWatchEventsExecutionDataDetails.fromJson(
            json['outputDetails'] as Map<String, dynamic>)
        : null,
    stopDate: timeStampFromJson(json['stopDate']),
    traceHeader: json['traceHeader'] as String?,
  );
}