LottoPool constructor
const
LottoPool({})
创建号码范围和抽取数量;必须满足 min ≤ max 且 0 < count ≤ 范围长度。
Implementation
const LottoPool(
{required this.min,
required this.max,
required this.count,
required this.ballFill,
this.textColor = _white,
this.label})
: assert(min <= max),
assert(count > 0),
assert(count <= max - min + 1);