ExistingRowClass class

Information used by the generator to generate code for a custom data class written by users.

Constructors

ExistingRowClass(InterfaceElement targetClass, ConstructorElement constructor, Map<MoorColumn, ParameterElement> mapping, bool generateInsertable, {List<DartType> typeInstantiation = const []})

Properties

constructor → ConstructorElement
final
generateInsertable bool
Generate toCompanion for data class
final
hashCode int
The hash code for this object.
no setterinherited
mapping Map<MoorColumn, ParameterElement>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetClass → InterfaceElement
final
typeInstantiation List<DartType>
The Dart types that should be used to instantiate the targetClass.
final

Methods

dartType([GenerationOptions options = const GenerationOptions()]) String
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