SomFormMeta class
The form metadata of a @Form node (SOM §7.1 FormMeta).
Constructors
-
SomFormMeta({required List<
SomFormFieldMeta> fields}) -
Takes the fields already in declaration order. That order is the form's
serialization and render order in every codec, so this constructor
deliberately does not sort — passing an alphabetised list would reorder
the emitted document.
const
Properties
-
fields
→ List<
SomFormFieldMeta> -
The form's fields in declaration order.
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
-
fieldNamed(
String name) → SomFormFieldMeta? -
The field named
name, ornullwhen absent. -
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