DateTimeType class

A date/time type.

Inheritance
  • Object
  • DataType<Uint8List>
  • DateTimeType

Constructors

DateTimeType(DateTimeKind dateTimeKind)
DateTimeType.fromJson(Map<String, dynamic> json)
factory

Properties

dateTimeKind DateTimeKind
The date/time kind.
final
annotated ↔ bool
Tells if a value of this type is annotated, i.e. wrapped by an instance of AnnotatedValue. Defaults to false.
read / write, inherited
defaultValue ↔ Uint8List
The default value (optional).
read / write, inherited
description ↔ String
The data type location description.
read / write, inherited
features → Map<String, Object>
The data type features as a map of names to values.
final, inherited
format ↔ String
The format (optional).
read / write, inherited
hashCode → int
The hash code for this object.
read-only, inherited
kind DataTypeKind
The data type kind.
final, inherited
kindValue → String
The string value of the data type kind, e.g. 'LIST'.
read-only, inherited
label ↔ String
The data type location label.
read / write, inherited
name ↔ String
The data type location name.
read / write, inherited
nullable ↔ bool
Tells if a value of this type may be null. The default is that a value must not be null, i.e. it is not nullable.
read / write, inherited
optional ↔ bool
The flag specifying if this type is optional. Defaults to false.
read / write, inherited
provided ProvidedMeta
The provided value specification. Defaults to null.
read / write, inherited
registeredType ↔ String
The optional corresponding registered data type name.
read / write, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, dynamic>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Constants

FEATURE_DATE_TIME_KIND → const String
The feature name for the dateTimeKind.
'dateTimeKind'