DescribeStateMachineForExecutionOutput.fromJson constructor

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

Implementation

factory DescribeStateMachineForExecutionOutput.fromJson(
    Map<String, dynamic> json) {
  return DescribeStateMachineForExecutionOutput(
    definition: json['definition'] as String,
    name: json['name'] as String,
    roleArn: json['roleArn'] as String,
    stateMachineArn: json['stateMachineArn'] as String,
    updateDate: nonNullableTimeStampFromJson(json['updateDate'] as Object),
    loggingConfiguration: json['loggingConfiguration'] != null
        ? LoggingConfiguration.fromJson(
            json['loggingConfiguration'] as Map<String, dynamic>)
        : null,
    tracingConfiguration: json['tracingConfiguration'] != null
        ? TracingConfiguration.fromJson(
            json['tracingConfiguration'] as Map<String, dynamic>)
        : null,
  );
}