PaymentMethod.fromJson constructor

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

Implementation

PaymentMethod.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  createdAt = json['createdAt'];
  creditCard = json['creditCard'];
  cash = json['cash'];
  cashOnDelivery = json['cashOnDelivery'];
  eft = json['eft'];
  paypal = json['paypal'];
  stripe = json['stripe'];
  bkmExpress = json['bkmExpress'];
}