copyWith method
Clones the section with optional overrides.
Implementation
MigrationSection copyWith({
String? directory,
String? registry,
String? ledgerTable,
String? schemaDump,
MigrationFormat? format,
}) {
return MigrationSection(
directory: directory ?? this.directory,
registry: registry ?? this.registry,
ledgerTable: ledgerTable ?? this.ledgerTable,
schemaDump: schemaDump ?? this.schemaDump,
format: format ?? this.format,
);
}