FdcDateTimeField class

Date-and-time dataset field definition storing full DateTime values.

Inheritance

Constructors

FdcDateTimeField({required String name, String? label, bool required = false, bool isKey = false, DateTime? defaultValue, FdcCalculatedFieldValue? calculatedValue, bool? persistent, FdcFieldValidator? validator, FdcFieldStorage storage = const FdcFieldStorage()})
Creates a FdcDateTimeField.
const

Properties

calculatedValue FdcCalculatedFieldValue?
Optional expression used to derive this field from the current row.
finalinherited
dataType FdcDataType
Logical data type used for normalization, validation, filtering, and editors.
finalinherited
defaultValue Object?
Static default value or a zero-argument default factory.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isCalculated bool
True when the field value is derived by calculatedValue.
no setterinherited
isKey bool
Whether this field participates in the dataset record identity.
finalinherited
isPersistent bool
True when the field participates in persistence-oriented dataset output.
no setterinherited
isReadOnly bool
True when normal dataset editing must not write this field.
no setterinherited
label String?
Display label shown to the user.
finalinherited
name String
Original field name casing used for export/display metadata.
finalinherited
persistent bool?
Controls whether the field participates in persistence-oriented outputs such as FdcDataSet.changeSet and FdcDataSet.toMaps.
finalinherited
required bool
Whether null or empty values are rejected by built-in validation.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage FdcFieldStorage
Persistence/storage metadata consumed by adapters.
finalinherited
validator FdcFieldValidator?
Optional field-level validator executed after built-in validation.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validateSchema() → void
Validates runtime schema invariants that cannot rely on debug-only asserts.
inherited

Operators

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