DriftAccessor constructor

const DriftAccessor(
  1. {List<Type> tables = const [],
  2. List<Type> views = const [],
  3. Map<String, String> queries = const {},
  4. Set<String> include = const {}}
)

Annotation for a class to declare it as an dao. See DriftAccessor and the referenced documentation on how to use daos with drift.

Implementation

const DriftAccessor({
  this.tables = const [],
  this.views = const [],
  this.queries = const {},
  this.include = const {},
});