GetResourcesOutput.fromJson constructor

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

Implementation

factory GetResourcesOutput.fromJson(Map<String, dynamic> json) {
  return GetResourcesOutput(
    paginationToken: json['PaginationToken'] as String?,
    resourceTagMappingList: (json['ResourceTagMappingList'] as List?)
        ?.whereNotNull()
        .map((e) => ResourceTagMapping.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}