toJson method
Implementation
Map<String, Object?> toJson() {
var webui = this.webui;
var download = this.download;
final json = <String, Object?>{};
if (webui != null) {
json[r'webui'] = webui;
}
if (download != null) {
json[r'download'] = download;
}
return json;
}