Data.fromMap constructor
Implementation
factory Data.fromMap(Map<String, dynamic> json) => Data(
reference: json["reference"],
publicKey: json["public_key"],
amount: json["amount"],
description: json["description"],
orderId: json["order_id"],
sbRedirectLink: json["sb_redirect_link"],
email: json["email"],
paymentLink: json["payment_link"],
gateway: json["gateway"],
status: json["status"],
);