Database constructor

const Database({
  1. required int version,
  2. required List<Type> entities,
  3. List<Type> views = const [],
})

Marks a class as a FloorDatabase.

Implementation

const Database({
  required this.version,
  required this.entities,
  this.views = const [],
});