toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['id'] = this.id;
data['label'] = this.label;
data['description'] = this.description;
data['type'] = this.type;
data['value'] = this.value;
data['default'] = this.taxDefault;
data['tip'] = this.tip;
data['placeholder'] = this.placeholder;
if (this.options != null) {
data['options'] = this.options!.toJson();
}
return data;
}