toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final createTime = this.createTime;
  final hostname = this.hostname;
  final name = this.name;
  final port = this.port;
  final protocol = this.protocol;
  final sourceType = this.sourceType;
  final uid = this.uid;
  final updateTime = this.updateTime;
  return {
    'createTime': ?createTime,
    'hostname': ?hostname,
    'name': ?name,
    'port': ?port,
    'protocol': ?protocol,
    'sourceType': ?sourceType,
    'uid': ?uid,
    'updateTime': ?updateTime,
  };
}