Column class final

Overrides inferred scalar storage metadata without changing the DTO type.

Constructors

Column({String? name, Codec<Object?>? codec, Map<Enum, String>? labels, int? bits, int? precision, int? scale})
Configures physical scalar storage.
const

Properties

bits → int?
Integer width, when integer storage is selected.
final
codec → Codec<Object?>?
Public constant codec for a domain value. Its type must match the field.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Map<Enum, String>?
Complete, distinct storage labels for an enum field.
final
name → String?
Physical column name; otherwise the field name is converted to snake_case.
final
precision → int?
Decimal or temporal precision, according to the storage type.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scale → int?
Decimal scale, requiring an explicit precision.
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