AutoMigration constructor

const AutoMigration({
  1. required int from,
  2. required int to,
  3. Type? spec,
})

Declares an automatic migration.

Implementation

const AutoMigration({required this.from, required this.to, this.spec});