ListTagsOfResourceOutput.fromJson constructor

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

Implementation

factory ListTagsOfResourceOutput.fromJson(Map<String, dynamic> json) {
  return ListTagsOfResourceOutput(
    nextToken: json['NextToken'] as String?,
    tags: (json['Tags'] as List?)
        ?.whereNotNull()
        .map((e) => Tag.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}