Smartdata class

Handles the generation of random data by providing a get method for generating multiple amount of random data, and getSingle to generate a single entity by a given generator. The included static put can be used to always add more generators to the singleton.

Constructors

Smartdata()

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

get<T>(int amount) List<T>
getSingle<T>() → T
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

Static Properties

I Smartdata
no setter

Static Methods

put(Type key, Generator val) → void