ColumnNotNullConstraint class final
A NOT NULL constraint used to disallow NULL values on a column.
For tables defined in Dart, drift adds this constraint to columns by default
unless nullable() is used in the column's definition.
- Inheritance
-
- Object
- ColumnConstraint
- ColumnNotNullConstraint
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compileWith(
StatementCompiler compiler) → void -
Compiles this component with the given StatementCompiler by invoking the
relevant
addmethod on it.override -
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