Item constructor

Item({
  1. required String transactionId,
  2. required String name,
  3. required String code,
  4. double? price,
  5. String? category,
  6. int? quantity,
})

Implementation

Item(
    {required this.transactionId,
    required this.name,
    required this.code,
    this.price,
    this.category,
    this.quantity})
    : super() {
  type = Type.ITEM;
}