SeedSection class

Constructors

SeedSection({required String directory, required String registry, List<String>? seedNames})
Declares where the seed registry lives.
SeedSection.fromMap(Map<String, Object?> map)
Creates the section from a YAML map.
factory

Properties

directory String
Directory containing seeder libraries.
final
hashCode int
The hash code for this object.
no setterinherited
registry String
Registry file (e.g., database/seeders.dart).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seedNames List<String>
Known seeders (populated at runtime/CLI when available).
final

Methods

copyWith({String? directory, String? registry, List<String>? seedNames}) SeedSection
Clones the section with the provided overrides.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
Serializes the section back to plain data.
toString() String
A string representation of this object.
inherited

Operators

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