ListIPSetsResponse.fromJson constructor

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

Implementation

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