DescribeHumanTaskUiResponse.fromJson constructor

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

Implementation

factory DescribeHumanTaskUiResponse.fromJson(Map<String, dynamic> json) {
  return DescribeHumanTaskUiResponse(
    creationTime:
        nonNullableTimeStampFromJson(json['CreationTime'] as Object),
    humanTaskUiArn: json['HumanTaskUiArn'] as String,
    humanTaskUiName: json['HumanTaskUiName'] as String,
    uiTemplate:
        UiTemplateInfo.fromJson(json['UiTemplate'] as Map<String, dynamic>),
    humanTaskUiStatus:
        (json['HumanTaskUiStatus'] as String?)?.toHumanTaskUiStatus(),
  );
}