ListDedicatedIpPoolsResponse.fromJson constructor

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

Implementation

factory ListDedicatedIpPoolsResponse.fromJson(Map<String, dynamic> json) {
  return ListDedicatedIpPoolsResponse(
    dedicatedIpPools: (json['DedicatedIpPools'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}