DefaultRandomProvider class
A generator of pseudo-random double values using the default math.Random
.
- Mixed in types
Constructors
- DefaultRandomProvider()
-
const
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
nextDouble(
) → double -
A non-negative random floating point value is expected
in the range from 0.0, inclusive, to 1.0, exclusive.
A ProviderError is thrown if the return value is < 0 or >= 1
override
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other ) → bool -
The equality operator. [...]
inherited