RewardsSchema constructor
RewardsSchema({
- List<
SimpleItemSchema> items = const [], - required int gold,
Returns a new RewardsSchema instance.
Implementation
RewardsSchema({
this.items = const [],
required this.gold,
});