RuntimeSqliteColumnDefinition class

Used to define types in SqliteAdapter#sqliteFieldsToColumns. The build runner package extracts types and associations that would've been otherwise inaccessible at runtime.

Constructors

RuntimeSqliteColumnDefinition({bool association = false, required String columnName, bool iterable = false, required Type type})
const

Properties

association bool
Whether this column relates to another SqliteModel This is true for Iterable<SqliteModel> and SqliteModel. Defaults to false.
final
columnName String
The SQLite column name, not the field name.
final
hashCode int
The hash code for this object.
no setterinherited
iterable bool
Whether this column is any subset Iterable (e.g. List, Set). Defaults to false.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type
The type accessed after the result is retrieved, not the SQLite column type. In other words, the runtime type.
final

Methods

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