HumanLoopSummary.fromJson constructor

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

Implementation

factory HumanLoopSummary.fromJson(Map<String, dynamic> json) {
  return HumanLoopSummary(
    creationTime: timeStampFromJson(json['CreationTime']),
    failureReason: json['FailureReason'] as String?,
    flowDefinitionArn: json['FlowDefinitionArn'] as String?,
    humanLoopName: json['HumanLoopName'] as String?,
    humanLoopStatus:
        (json['HumanLoopStatus'] as String?)?.toHumanLoopStatus(),
  );
}