toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data["mode"] = this.mode;
data["endpoint"] = this.endpoint;
data["fields"] = this.fields;
data["redirect"] = this.redirect;
data["pin"] = this.pin;
data["otp"] = this.otp;
data["address"] = this.address;
data["city"] = this.city;
data["state"] = this.state;
data["zipcode"] = this.zipcode;
data["country"] = this.country;
data["note"] = this.note;
data["validate_instructions"] = this.validateInstructions;
return data;
}