Data.fromJson constructor

Data.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Data.fromJson(Map<String, dynamic> json) {
  return Data(
    webPaymentUrl: json['web_payment_url'],
    mobileDeepLink: json['mobile_deep_link'],
  );
}