ExistingRowClass class Null safety

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

Constructors

ExistingRowClass(ClassElement 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.
read-only, inherited
mapping Map<MoorColumn, ParameterElement>
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
targetClass ClassElement
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 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