FixtureDefinition<Model> class abstract

This defines a fixture to generate the model.

Implemented types

Constructors

FixtureDefinition(FixtureDefinitionBuilder<Model> definition, {Faker? faker})

Properties

definition FixtureDefinitionBuilder<Model>
final
faker Faker
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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
toString() String
A string representation of this object.
inherited

Operators

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