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['min'] = this.min;
data['max'] = this.max;
data['fieldName'] = this.fieldName;
data['fieldSubType'] = this.fieldSubType;
data['mandatory'] = this.mandatory;
data['fetchRemote'] = this.fetchRemote;
data['hidden'] = this.hidden;
data['formatAmount'] = this.formatAmount;
data['unique'] = this.unique;
data['isAmount'] = this.isAmount;
data['isAmountPrepopulate'] = this.isAmountPrepopulate;
data['isAmountModifiable'] = this.isAmountModifiable;
data['excessAllowed'] = this.excessAllowed;
return data;
}