IteratorGenerator class

A Iterator implementation of a ValueGenerator which produces a Iterator from a provided seed and a element ValueGenerator

Inheritance

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 to T
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 to T
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