RollResult class
A result from a single roll with a particular die.
Constructors
Properties
- faces ↔ int
-
How many faces the die on the roll has.
getter/setter pair
- finalResult ↔ int
-
The final result from this roll (considering multiple throws and L/H notation).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- numberOfRolls ↔ int
-
The number of times the die has been rolled.
getter/setter pair
-
results
↔ List<
int> -
A list of dice results from this roll.
getter/setter pair
- rollNotation ↔ String
-
The string notation from this particular roll.
getter/setter pair
- 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