JsonFixtureMaker<Model> class abstract

This class define a JSON fixture maker.

Inheritance
Implementers

Constructors

JsonFixtureMaker()

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

makeJsonArray(int number, {bool growableList = false}) List<Map<String, dynamic>>
Create a JSON Array of models.
makeJsonArrayFromMany(List<Model> objects, {bool growableList = false}) List<Map<String, dynamic>>
Create a JSON Array of a sequence of models.
makeJsonObject() Map<String, dynamic>
Create a JSON Object.
makeJsonObjectFromSingle(Model object) Map<String, dynamic>
Create a JSON Object from a model.
makeMany(int number, {bool growableList = false}) List<Model>
Create a list of models.
inherited
makeManyWithJsonArray(int number, {bool growableList = false}) List<FixtureTuple<Model>>
Create an array of both model and its relative JSON Object.
makeSingle() → Model
Create a single model.
inherited
makeSingleWithJsonObject() FixtureTuple<Model>
Create a tuple of model and its relative JSON Object.
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