toMap method

Map<String, Object?> toMap()

Serializes the section back to a map.

Implementation

Map<String, Object?> toMap() => {
  'directory': directory,
  'registry': registry,
  'ledger_table': ledgerTable,
  'schema_dump': schemaDump,
  if (format != MigrationFormat.dart) 'format': format.name,
};