MapGenerator class

A Map implementation of a ValueGenerator which produces a Map from a provided seed

Inheritance

Constructors

MapGenerator(ValueGenerator _keyIthGenerator, ValueGenerator _valueIthGenerator)
Builds a MapGenerator with a provided key generator _keyIthGenerator

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