ListIPSetsResponse.fromJson constructor

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

Implementation

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