FixtureFactory<Model> class abstract

This abstract class specifies the definitions to create an object.

Implemented types
Implementers

Constructors

FixtureFactory()

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

define(FixtureDefinitionBuilder<Model> definition, {Faker? faker}) FixtureDefinition<Model>
Create a new model fixture definition.
definition() FixtureDefinition<Model>
The default model definition.
makeMany(int number, {bool growableList = false}) List<Model>
Create a list of models.
override
makeSingle() → Model
Create a single model.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
redefine(FixtureRedefinitionBuilder<Model> redefinition, {Faker? faker}) FixtureDefinition<Model>
Edit the default fixture definition.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited