toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = Map<String, dynamic>();
data['label'] = this.label;
data['name'] = this.name;
if (this.value != null) {
data['value'] = this.value!.toJson();
}
data['type'] = this.type;
data['view'] = this.view;
data['header'] = this.header;
data['classNames'] = this.classNames;
data['amountValue'] = this.amountValue;
data['valueLabel'] = this.valueLabel;
return data;
}