FormComponent<T extends DataEntity> class
abstract
Data Object that represents a entry in a Form
T
is the DataEntity type of data
Constructors
Properties
- data → T
-
Value of the Component
no setter
- fieldId → String
-
Id of this FormComponent
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- options → FormComponentOptions
-
Additional options of a component
no setter
- property → String
-
Name of the Component
no setter
- required → bool
-
Shows if the field can be
null
no setter - 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
-
toJson(
) → Map< String, dynamic> -
Saves this into a Map that can be encoded using
json.encode
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic json, dynamic schema) → FormComponent< DataEntity> -
Mapping to a concrete implementation based on
json
andschema