RewardsSchema constructor

RewardsSchema({
  1. List<SimpleItemSchema> items = const [],
  2. required int gold,
})

Returns a new RewardsSchema instance.

Implementation

RewardsSchema({
  this.items = const [],
  required this.gold,
});