FlowDefinitionSummary.fromJson constructor

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

Implementation

factory FlowDefinitionSummary.fromJson(Map<String, dynamic> json) {
  return FlowDefinitionSummary(
    creationTime:
        nonNullableTimeStampFromJson(json['CreationTime'] as Object),
    flowDefinitionArn: json['FlowDefinitionArn'] as String,
    flowDefinitionName: json['FlowDefinitionName'] as String,
    flowDefinitionStatus:
        (json['FlowDefinitionStatus'] as String).toFlowDefinitionStatus(),
    failureReason: json['FailureReason'] as String?,
  );
}