Data.fromJson constructor

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

Implementation

factory Data.fromJson(Map<String, dynamic> json) {
  return Data(
    biller: Biller.fromJson(json['biller'] ?? ''),
    transInfo: TransInfo.fromJson(json['trans_info'] ?? ''),
    checkoutPageConfig:
        CheckoutPageConfig.fromJson(json['checkout_page_config'] ?? ''),
  );
}