PaymentMethod.fromJson constructor
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'];
}