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.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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 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