DraftModeFormController class
Lightweight draft/value controller reused by DraftModeFormState.
- Implemented types
Constructors
Properties
Methods
-
attributeFor<
T> (DraftModeFieldDefinition< T> definition) → DraftModeFormAttribute<T> -
attributeForUntyped(
DraftModeFieldDefinition definition) → DraftModeFormAttribute -
beginAttributeValidation(
dynamic attribute) → void -
Marks the start of validation for a concrete
attribute.override -
commit(
) → void -
dependentAttributesOf(
dynamic attribute) → Iterable -
endAttributeValidation(
dynamic attribute) → void -
Marks the end of validation for a concrete
attribute.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read<
V> (dynamic attribute) → V? -
Returns the current value for a related
attribute, if available.override -
registerAttribute<
T> (DraftModeFormAttribute< T> attribute) → void -
registerDependency(
dynamic dependency) → void -
Records that the current validation depends on
dependency.override -
replaceAttribute<
T> (DraftModeFormAttribute< T> attribute, T? value) → void -
reset(
) → void -
toString(
) → String -
A string representation of this object.
inherited
-
updateAttribute<
T> (DraftModeFormAttribute< T> attribute, T? value) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited