CraftingSchema constructor

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

Returns a new CraftingSchema instance.

Implementation

CraftingSchema({
  required this.code,
  this.quantity = 1,
});