PaymentMethodModel.fromMap constructor
Implementation
factory PaymentMethodModel.fromMap(Map<String, dynamic> map) {
return PaymentMethodModel(
id: map['id'],
description: map['description'],
itemType: map['item_type'],
data: PaymentMethodData.fromMap(map['data']),
);
}