GetIPSetResponse.fromJson constructor
Implementation
factory GetIPSetResponse.fromJson(Map<String, dynamic> json) {
return GetIPSetResponse(
format: (json['format'] as String).toIpSetFormat(),
location: json['location'] as String,
name: json['name'] as String,
status: (json['status'] as String).toIpSetStatus(),
tags: (json['tags'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
);
}