BankPrizeDraw class
A single upcoming draw shown inside BankPrizeDrawCard.
Describes one prize event of a prize-linked savings programme: what can be won (prizeLabel), when the draw happens (drawDate), and the deposit cutoff for entering it (lastDepositDate). Grand draws (isGrand) receive an accent star badge in the list.
- Annotations
Constructors
Properties
- drawDate → DateTime
-
Date on which the draw takes place.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
Stable identifier of the draw.
final
- isGrand → bool
-
Whether this is a grand (headline) draw. Grand draws are marked
with an accent star badge.
final
- lastDepositDate → DateTime
-
Eligibility cutoff: deposits must land by this date to enter.
final
- prizeLabel → String
-
User-facing prize description, e.g.
'USD 500,000'or'Porsche 911 Carrera S'.final - 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override