ResourceTag.fromJson constructor

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

Implementation

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