Iso8601DateTimeValueAccessor class Null safety

Represents a control value accessor that converts from Iso8601 string value to a DateTime data type.

This control value accessor is used by ReactiveDatePicker when the model control is of type String.

Inheritance

Constructors

Iso8601DateTimeValueAccessor()

Properties

control FormControl<String>?
Gets the control bind to this value accessor.
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

dispose() → void
Disposes the value accessors.
@mustCallSuper, inherited
modelToViewValue(String? modelValue) DateTime?
Returns the value that must be supplied to the UI widget. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
registerControl(FormControl<String> control, {ChangeFunction<DateTime>? onChange}) → void
Registers a the control with the value accessor. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
updateModel(DateTime? viewValue) → void
Updates the control with the provided value. [...]
inherited
viewToModelValue(DateTime? viewValue) String?
Returns the value that must be supplied to the control. [...]
override

Operators

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