GetStaticIpsResult.fromJson constructor

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

Implementation

factory GetStaticIpsResult.fromJson(Map<String, dynamic> json) {
  return GetStaticIpsResult(
    nextPageToken: json['nextPageToken'] as String?,
    staticIps: (json['staticIps'] as List?)
        ?.whereNotNull()
        .map((e) => StaticIp.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}