Iso8601DateTimeValueAccessor class

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

Properties

control FormControl<String>?
Gets the control bind to this value accessor.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Disposes the value accessors.
inherited
modelToViewValue(String? modelValue) DateTime?
Returns the value that must be supplied to the UI widget.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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