toJson method
Implementation
Map<String, dynamic> toJson() {
final name = this.name;
final protocolPolicy = this.protocolPolicy;
final regionName = this.regionName;
return {
if (name != null) 'name': name,
if (protocolPolicy != null) 'protocolPolicy': protocolPolicy.toValue(),
if (regionName != null) 'regionName': regionName.toValue(),
};
}