TagResourceResponse.fromJson constructor

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

Implementation

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