DbConfig.mysql constructor

const DbConfig.mysql({
  1. required String host,
  2. int port = 3306,
  3. required String database,
  4. String? username,
  5. String? password,
  6. bool ssl = false,
})

MySQL configuration

Implementation

const DbConfig.mysql({
  required this.host,
  this.port = 3306,
  required this.database,
  this.username,
  this.password,
  this.ssl = false,
}) : dbType = DatabaseType.mysql;