DescribeTagsResponse.fromJson constructor

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

Implementation

factory DescribeTagsResponse.fromJson(Map<String, dynamic> json) {
  return DescribeTagsResponse(
    resourceTags: (json['resourceTags'] as List?)
        ?.whereNotNull()
        .map((e) => ResourceTag.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}