@override Map<String, dynamic> toJson([dynamic extra]) { return { "@type": CONSTRUCTOR, "server": server, "port": port, "enable": enable, "type": type.toJson(), "@extra": extra, }; }