PaymayaItem constructor
const
PaymayaItem({
- required String name,
- required num quantity,
- String? code,
- String? description,
- required PaymayaAmount amount,
- 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,
});