toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.widget != null) {
json[r'widget'] = this.widget;
} else {
json[r'widget'] = null;
}
if (this.query != null) {
json[r'query'] = this.query;
} else {
json[r'query'] = null;
}
return json;
}