MigrationSection.fromMap constructor
Reconstructs the section from YAML.
Implementation
factory MigrationSection.fromMap(Map<String, Object?> map) =>
MigrationSection(
directory: map['directory']?.toString() ?? '',
registry: map['registry']?.toString() ?? '',
ledgerTable: map['ledger_table']?.toString() ?? 'orm_migrations',
schemaDump: map['schema_dump']?.toString() ?? 'database/schema',
format: _parseMigrationFormat(map['format']),
);