PaymayaItem constructor

const PaymayaItem({
  1. required String name,
  2. required num quantity,
  3. String? code,
  4. String? description,
  5. required PaymayaAmount amount,
  6. required PaymayaAmount totalAmount,
})

Paymaya Item

Example:

  final item = PaymayaItem(
    name: 'Shoe(Size SX)',

  );

Implementation

const PaymayaItem({
  required this.name,
  required this.quantity,
  this.code,
  this.description,
  required this.amount,
  required this.totalAmount,
});