LottoResult class final

一局摇奖结果,抽出顺序不受展示排序影响。

Inheritance
Annotations

Constructors

LottoResult({required LottoDraw draw})
创建正常结果;例如 LottoResult(draw: draw)。
const
LottoResult.cancelled()
创建没有号码的作废结果。
const

Properties

cancelled → bool
是否作废本局。
finalinherited
draw → LottoDraw?
本局号码,作废时为空。
no setter
hashCode → int
The hash code for this object.
no setterinherited
index → int?
命中的奖品下标,取消时为空。
finalinherited
prize → LottoDraw?
命中的奖品,取消时为空。
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited