FormerForm class abstract
A form that will be consumed by Former. This ensures the form class interfaces with this library properly.
Constructors
Properties
-
fieldType
→ Map<
FormerField, String> -
A map that maps
FormerField
to their corresponding type.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
submit(
BuildContext context) → Future -
Submits this form, under the
context
of the Former widget that provides this form. -
toString(
) → String -
A string representation of this object.
inherited
-
typeOf(
FormerField field) → String -
Retrieves the type of
field
. Iffield
is not in this form, an empty string is returned.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
FormerField field) → dynamic -
operator []=(
FormerField field, dynamic newValue) → void