Dao class Null safety

A dao, declared via an UseDao annotation on a Dart class.

Inheritance
Available Extensions

Constructors

Dao({required DartType dbClass, DatabaseOrDaoDeclaration? declaration, required List<MoorTable> declaredTables, List<MoorView> declaredViews = const [], required List<String> declaredIncludes, required List<DeclaredQuery> declaredQueries})

Properties

dbClass DartType
The database class this dao belongs to.
final
declaration DatabaseOrDaoDeclaration?
Gets the declaration of this element, if set.
final, inherited
declaredIncludes List<String>
The includes field from the UseMoor or UseDao annotation.
final, inherited
declaredQueries List<DeclaredQuery>
All queries declared directly in the UseMoor or UseDao annotation.
final, inherited
declaredTables List<MoorTable>
All tables that have been declared on this accessor directly.
final, inherited
declaredViews List<MoorView>
All views that have been declared on this accessor directly.
final, inherited
entities List<MoorSchemaEntity>
All entities for this database accessor. This contains declaredTables and all tables, triggers and other entities available through includes.
read / write, inherited
fromClass ClassElement?
The ClassElement that was annotated with UseMoor or UseDao.
read-only, inherited
hashCode int
The hash code for this object.
read-only, inherited
imports List<FoundFile>?
Resolved imports from this file.
read / write, inherited
queries List<SqlQuery>?
All resolved queries.
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tables Iterable<MoorTable>
All tables for this database accessor. This contains the declaredTables and all tables that are reachable through includes.
read-only, inherited
views Iterable<MoorView>
All views for this database accesssor.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited