PaynowCartItem.fromMap constructor

PaynowCartItem.fromMap(
  1. dynamic data
)

Implementation

factory PaynowCartItem.fromMap(data) {
  return PaynowCartItem(title: data['title'], amount: data['amount']);
}