toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0x5db95a15",
"flags": flags,
"test": test,
"nameRequested": nameRequested,
"phoneRequested": phoneRequested,
"emailRequested": emailRequested,
"shippingAddressRequested": shippingAddressRequested,
"flexible": flexible,
"phoneToProvider": phoneToProvider,
"emailToProvider": emailToProvider,
"recurring": recurring,
"currency": currency,
"prices": prices,
"maxTipAmount": maxTipAmount,
"suggestedTipAmounts": suggestedTipAmounts,
"termsUrl": termsUrl,
};
// Finished toJson.
return returnValue;
}