toJson method
Implementation
@override
Map<String, dynamic> toJson() {
var json = super.toJson();
if (query != null) {
json['query'] = query!.toJson();
}
if (historyCmd != null) {
json['historyCmd'] = historyCmd!.toJson();
}
if (latestCmd != null) {
json['latestCmd'] = latestCmd!.toJson();
}
if (tsCmd != null) {
json['tsCmd'] = tsCmd!.toJson();
}
if (aggHistoryCmd != null) {
json['aggHistoryCmd'] = aggHistoryCmd!.toJson();
}
if (aggTsCmd != null) {
json['aggTsCmd'] = aggTsCmd!.toJson();
}
return json;
}