DescribeReservedElasticsearchInstanceOfferingsResponse.fromJson constructor
DescribeReservedElasticsearchInstanceOfferingsResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeReservedElasticsearchInstanceOfferingsResponse.fromJson(
Map<String, dynamic> json) {
return DescribeReservedElasticsearchInstanceOfferingsResponse(
nextToken: json['NextToken'] as String?,
reservedElasticsearchInstanceOfferings:
(json['ReservedElasticsearchInstanceOfferings'] as List?)
?.whereNotNull()
.map((e) => ReservedElasticsearchInstanceOffering.fromJson(
e as Map<String, dynamic>))
.toList(),
);
}