Migration constructor

const Migration({
  1. required int version,
  2. required List<MigrationCommand> up,
  3. required List<MigrationCommand> down,
})

Implementation

const Migration({
  required this.version,
  required this.up,
  required this.down,
});