SeederFactory class abstract

Constructors

SeederFactory.new()

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

create([Map<String, dynamic>? attributes]) Map<String, dynamic>
createMany(int count, [Map<String, dynamic>? attributes]) List<Map<String, dynamic>>
definition() Map<String, dynamic>
make([Map<String, dynamic>? attributes]) Map<String, dynamic>
makeMany(int count, [Map<String, dynamic>? attributes]) List<Map<String, dynamic>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
randomBool() bool
randomDate(DateTime start, DateTime end) DateTime
randomDouble(double min, double max) double
randomElement<T>(List<T> list) → T
randomEmail() String
randomFutureDate([int maxDaysFromNow = 365]) DateTime
randomInt(int min, int max) int
randomName() String
randomPastDate([int maxDaysAgo = 365]) DateTime
randomPhone() String
randomPrice([double min = 1.0, double max = 1000.0, int decimals = 2]) double
randomStatus([List<String>? statuses]) String
randomString(int length, {bool includeNumbers = true, bool includeSymbols = false}) String
randomText([int sentences = 3]) String
randomUuid() String
toString() String
A string representation of this object.
inherited

Operators

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