toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = Map<String, dynamic>();
data['ip_external'] = this.ipExternal;
if (this.portOpened != null) {
data['port_opened'] = this.portOpened!.toJson();
}
data['platform'] = this.platform;
data['fileserver_ip'] = this.fileserverIp;
data['fileserver_port'] = this.fileserverPort;
data['tor_enabled'] = this.torEnabled;
data['tor_status'] = this.torStatus;
data['tor_has_meek_bridges'] = this.torHasMeekBridges;
data['tor_use_bridges'] = this.torUseBridges;
data['ui_ip'] = this.uiIp;
data['ui_port'] = this.uiPort;
data['version'] = this.version;
data['rev'] = this.rev;
data['timecorrection'] = this.timecorrection;
data['language'] = this.language;
data['debug'] = this.debug;
data['offline'] = this.offline;
data['plugins'] = this.plugins;
if (this.pluginsRev != null) {
data['plugins_rev'] = this.pluginsRev!.toJson();
}
if (this.userSettings != null) {
data['user_settings'] = this.userSettings!.toJson();
}
data['updatesite'] = this.updatesite;
data['dist_type'] = this.distType;
data['lib_verify_best'] = this.libVerifyBest;
return data;
}