Payment.fromMap constructor

Payment.fromMap(
  1. dynamic data
)

Implementation

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