GetDedicatedIpsResponse.fromJson constructor

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

Implementation

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