FormData class
Model for FormData
Constructors
-
FormData({required String id, String? name, String? title, String? description, required List<
FormComponent< ? components, required List<DataEntity> >GridField> ? fields, required LinkMap links, Map<Attachment, AttachmentAction> ? attachmentActions, FormDataProperties? properties, List<FormFieldProperties> fieldProperties = const []}) - Creates a FormData Object
-
FormData.fromJson(Map<
String, dynamic> json) -
Deserializes
json
into a FormData Objectfactory
Properties
-
attachmentActions
→ Map<
Attachment, AttachmentAction> -
Actions related to Attachments that need to b performed before submitting a form
final
-
components
→ List<
FormComponent< ?DataEntity> > -
List of
FormComponent
s represented in the Formfinal - description → String?
-
Description of the Form
final
-
fieldProperties
→ List<
FormFieldProperties> -
Additional properties of the fields
final
-
fields
→ List<
GridField> ? -
List of
GridField
s represented in the Formfinal - hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
Id of the Form
final
- links → LinkMap
-
Links to actions that are used
final
- name → String?
-
Name of the Form
final
- properties → FormDataProperties?
-
Custom title for a successfull submission
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
Title of the Form
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes FormData to json
-
toRequestObject(
) → Map< String, dynamic> - Creates a Map used to send this data back to a server
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override