Insertable<D> class Null safety

Common interface for objects which can be inserted or updated into a database. D is the associated data class.

Implementers
Annotations
  • @optionalTypeArgs

Constructors

Insertable()
Constant constructor so the classes that extend this can be const.
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toColumns(bool nullToAbsent) Map<String, Expression<Object>>
Converts this object into a map of column names to expressions to insert or update.
toString() String
A string representation of this object.
inherited

Operators

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