CoinReward constructor

const CoinReward({
  1. required String date,
  2. required String description,
  3. required String id,
  4. required int score,
})

Implementation

const factory CoinReward({
  required String date,
  required String description,
  required String id,
  required int score,
}) = _CoinReward;