PaystackRequestResponse.fromJson constructor
Implementation
factory PaystackRequestResponse.fromJson(Map<String, dynamic> json) {
return PaystackRequestResponse(
status: json['status'],
authUrl: json['data']["authorization_url"],
reference: json['data']["reference"],
// data: json['data'] != null ? PaymentData.fromJson(json["data"]) : null,
);
}