Payment.fromMap constructor
Payment.fromMap(
- dynamic data
Implementation
factory Payment.fromMap(data) {
return Payment(
reference: data['reference'],
authEmail: data['authEmail'],
items: data['items'].map((paynowCartItemData) =>
PaynowCartItem.fromMap(paynowCartItemData)));
}