toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "@type": CONSTRUCTOR,
    "id": this.id,
    "server": this.server,
    "port": this.port,
    "last_used_date": this.lastUsedDate,
    "is_enabled": this.isEnabled,
    "type": this.type == null ? null : this.type.toJson(),
  };
}