toJson method
Implementation
Map<String, dynamic> toJson() {
final instancePort = this.instancePort;
final policyNames = this.policyNames;
return {
if (instancePort != null) 'InstancePort': instancePort,
if (policyNames != null) 'PolicyNames': policyNames,
};
}