ColumnType enum
Enum representing supported column types for a table schema.
Values
- integer → const ColumnType
-
Integer type (e.g., INT)
- string → const ColumnType
-
String type with length limit (e.g., VARCHAR)
- text → const ColumnType
-
Long text type (e.g., TEXT)
- boolean → const ColumnType
-
Boolean type (e.g., TRUE/FALSE)
- double → const ColumnType
-
Double/float type (e.g., FLOAT/DOUBLE)
- datetime → const ColumnType
-
Date and time (e.g., DATETIME)
- timestamp → const ColumnType
-
Timestamp (e.g., TIMESTAMP)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
values
→ const List<
ColumnType> - A constant List of the values in this enum, in order of their declaration.