SeederRegistration class

Seeder registration for managing multiple seeders.

Used by CLI tooling and tests to register seeders by name so they can be invoked dynamically.

Constructors

SeederRegistration({required String name, required DatabaseSeeder factory(OrmConnection)})
const

Properties

factory DatabaseSeeder Function(OrmConnection)
Factory for creating the seeder with a connection.
final
hashCode int
The hash code for this object.
no setterinherited
name String
Unique seeder name (typically the class name).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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