ListTagsForResourceOutput.fromJson constructor

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

Implementation

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