toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var port = this.port;
  var statusReference = this.statusReference;

  final json = <String, Object?>{};
  if (port != null) {
    json[r'port'] = port;
  }
  json[r'statusReference'] = statusReference;
  return json;
}