DB constructor

const DB({
  1. required String name,
  2. required int version,
  3. List<Object> entities = const [],
  4. bool readOnly = false,
  5. bool singleInstance = true,
  6. List<Object> migrations = const [],
})

Implementation

const DB({
  required this.name,
  required this.version,
  this.entities = const [],
  this.readOnly = false,
  this.singleInstance = true,
  this.migrations = const [],
});