PaymentOptionModel.fromJson constructor

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

Implementation

factory PaymentOptionModel.fromJson(Map<String, dynamic> json) =>
    PaymentOptionModel(
      order: json["order"] == null ? null : Order.fromJson(json["order"]),
      paymentOptions: json["payment_options"] == null
          ? null
          : PaymentOptions.fromJson(json["payment_options"]),
    );