DescribeElasticsearchDomainsResponse.fromJson constructor

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

Implementation

factory DescribeElasticsearchDomainsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeElasticsearchDomainsResponse(
    domainStatusList: (json['DomainStatusList'] as List)
        .whereNotNull()
        .map((e) =>
            ElasticsearchDomainStatus.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}