toJson method Null safety
Implementation
Map<String, dynamic> toJson() => {
"code": code,
"referenceCode": referenceCode,
"frame": frame,
"domain": domain,
"confirmationPage": confirmationPage,
"rejectionPage": rejectionPage,
"paymentURL": paymentUrl,
"browser": browser,
};