Db constructor

const Db({
  1. required List<Type> entities,
  2. int migrationVersion = 1,
  3. DbConfig? config,
  4. String? name,
  5. bool generateSql = false,
  6. DatabaseType? sqlDialect,
})

Implementation

const Db({
  required this.entities,
  this.migrationVersion = 1,
  this.config,
  this.name,
  this.generateSql = false,
  this.sqlDialect,
});