Score constructor

const Score({
  1. required double total,
  2. @Default(0.0) double value,
})

Implementation

const factory Score({
  required double total,
  @Default(0.0) double value,
}) = _Score;