RewardItem constructor

const RewardItem({
  1. double? amount,
  2. String? type,
})

Implementation

const RewardItem({this.amount, this.type});