Dice class

Annotations

Constructors

Dice({int min: defaultMin, int max: defaultMax})
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
max int
final
min int
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
roll() int
サイコロを振る
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

defaultMax → const int
6
defaultMin → const int
1