DatabaseOrDaoDeclaration class

Declaration of a database or dao in a Dart file.

Implemented types
Available extensions

Constructors

DatabaseOrDaoDeclaration.new(ClassElement fromClass, FoundFile file)
factory

Properties

declaration SourceRange
The file and text span where this element was declared.
final
element → Element
A fitting, enclosing element for this declaration.
no setteroverride
fromClass → ClassElement
The ClassElement with the UseMoor or UseDao annotation.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

formatSqlIfAvailable(MoorOptions options) String?

Available on Declaration, provided by the ToSqlIfAvailable extension

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

Operators

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