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