LottoDraw class final
按池分组、组内保留抽出顺序的号码;例如 const LottoDraw([[1], [2]])。
- Annotations
Properties
Methods
-
copyWith(
{List< List< ? numbers}) → LottoDrawint> > - 返回指定号码的副本,未传参数时保留当前号码。
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
LottoConfig config) → void -
校验与
config的池数、数量、范围和池内唯一性;不符抛 ArgumentError。
Operators
-
operator ==(
Object other) → bool -
按池顺序和抽出顺序比较。
override