DescribeStateMachineOutput.fromJson constructor
DescribeStateMachineOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeStateMachineOutput.fromJson(Map<String, dynamic> json) {
return DescribeStateMachineOutput(
creationDate:
nonNullableTimeStampFromJson(json['creationDate'] as Object),
definition: json['definition'] as String,
name: json['name'] as String,
roleArn: json['roleArn'] as String,
stateMachineArn: json['stateMachineArn'] as String,
type: (json['type'] as String).toStateMachineType(),
loggingConfiguration: json['loggingConfiguration'] != null
? LoggingConfiguration.fromJson(
json['loggingConfiguration'] as Map<String, dynamic>)
: null,
status: (json['status'] as String?)?.toStateMachineStatus(),
tracingConfiguration: json['tracingConfiguration'] != null
? TracingConfiguration.fromJson(
json['tracingConfiguration'] as Map<String, dynamic>)
: null,
);
}