DescribeTaskDefinitionResponse.fromJson constructor
Implementation
factory DescribeTaskDefinitionResponse.fromJson(Map<String, dynamic> json) {
return DescribeTaskDefinitionResponse(
tags: (json['tags'] as List?)
?.whereNotNull()
.map((e) => Tag.fromJson(e as Map<String, dynamic>))
.toList(),
taskDefinition: json['taskDefinition'] != null
? TaskDefinition.fromJson(
json['taskDefinition'] as Map<String, dynamic>)
: null,
);
}