IPSetDescriptor.fromJson constructor

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

Implementation

factory IPSetDescriptor.fromJson(Map<String, dynamic> json) {
  return IPSetDescriptor(
    type: (json['Type'] as String).toIPSetDescriptorType(),
    value: json['Value'] as String,
  );
}