ColumnDb class

Defines a column of a database table. A TableDb object will be made up of a collection of ColumnDb objects.

Constructors

ColumnDb({bool isPrimaryKey = false, required String name, required FieldTypeDb type})

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getName() String
Return the name of the database column.
getType() FieldTypeDb
Return the type of data that the database column contains.
isPrimaryKey() bool
Return if this column is primary key.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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