DescribeElasticIpsResult.fromJson constructor

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

Implementation

factory DescribeElasticIpsResult.fromJson(Map<String, dynamic> json) {
  return DescribeElasticIpsResult(
    elasticIps: (json['ElasticIps'] as List?)
        ?.whereNotNull()
        .map((e) => ElasticIp.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}