IteratorGenerator class
A Iterator implementation of a ValueGenerator which produces a Iterator from a provided seed and a element ValueGenerator
- Inheritance
-
- Object
- ValueGenerator
- IteratorGenerator
Constructors
- IteratorGenerator(ValueGenerator _ithGenerator)
-
Builds a IteratorGenerator with a provided element generator,
_ithGenerator
Properties
-
fromEncodable
→ (dynamic Function(Map<
String, dynamic> json)?) -
Returns the encoder for the generated class
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
nextListOf<
T> (int seed) → List< T> -
Returns a new value out of a provided
seed
as a list and casts the list type toT
inherited -
nextValue(
int seed) → dynamic -
Returns a new value out of a provided
seed
override -
nextValueAs<
T> (int seed) → T -
Returns a new value out of a provided
seed
and casts it toT
inherited -
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