toJson method
Implementation
Map toJson() {
return {
'first_name': firstName,
'last_name': lastName,
'email': email,
'amount': amount,
'currency': currency,
'public_key': publicKey
};
}
Map toJson() {
return {
'first_name': firstName,
'last_name': lastName,
'email': email,
'amount': amount,
'currency': currency,
'public_key': publicKey
};
}