JSON method
Implementation
String JSON() {
return json.encode({
"success": this.success,
"url": this.url,
"order": this.order,
"amount": this.amount,
"session": this.session,
});
}
String JSON() {
return json.encode({
"success": this.success,
"url": this.url,
"order": this.order,
"amount": this.amount,
"session": this.session,
});
}