toJson method
Implementation
Map<String, Object?> toJson() {
var port = this.port;
var statusReference = this.statusReference;
final json = <String, Object?>{};
if (port != null) {
json[r'port'] = port;
}
if (statusReference != null) {
json[r'statusReference'] = statusReference;
}
return json;
}