Formable class

Annotates classes that will be consumed by Former.

All fields in the annotated class will be treated as an entry in the form, unless it is marked as FormableIgnore.

A class will be generated containing all the fields in the form and their string representation. It enables safer access to form fields without resorting to magic strings.

For example, The Field widget needs to know what field in the form it is representing via the Field.name attribute so that it can update the correct entry in the form.

Constructors

Formable()
const

Properties

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
toString() String
A string representation of this object.
inherited

Operators

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