FormData class

Model for FormData

Constructors

FormData(String title, List<FormComponent<DataEntity>> components, List<FormAction> actions, dynamic schema)
Creates a FormData Object
FormData.fromJson(Map<String, dynamic> json)
Deserializes json into a FormData Object

Properties

actions List<FormAction>
List of FormActions available for this Form
final
components List<FormComponent<DataEntity>>
List of FormComponent represented in the Form
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema → dynamic
Schema used to deserialize components and verify data send back to the server
final
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