SimpleItemSchema constructor

SimpleItemSchema({
  1. required String code,
  2. required int quantity,
})

Returns a new SimpleItemSchema instance.

Implementation

SimpleItemSchema({
  required this.code,
  required this.quantity,
});