Reward constructor

const Reward({
  1. String? name,
  2. int? amount,
})

Implementation

const Reward({
  this.name,
  this.amount,
});