ColumnDefinition class

Represents the desired state of a database column.

Constructors

ColumnDefinition({required String name, required String type, bool isNullable = true, bool isAutoIncrement = false, String? defaultValue, List<String>? enumValues, bool isJson = false, bool isList = false})
const

Properties

defaultValue String?
final
enumValues List<String>?
final
hashCode int
The hash code for this object.
no setterinherited
isAutoIncrement bool
final
isJson bool
final
isList bool
final
isNullable bool
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
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