toJson method

Map<String, dynamic> toJson()

Implementation

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