FormService class
Constructors
- FormService(ApiClient client)
- Constructs a FormService using the provided ApiClient.
Properties
Methods
-
createForm(
FormModel form) → Future< FormModel> - Creates a new form in the Form.io project.
-
deleteForm(
String formId) → Future< void> - Deletes a form from the Form.io project.
-
fetchForms(
) → Future< List< FormModel> > - Fetches all available forms from the Form.io backend.
-
fetchResourceSubmissions(
String resourceId, {int limit = 100, int skip = 0}) → Future< List< Map< >String, dynamic> > - Fetches submissions from a resource (form) by ID.
-
getFormByPath(
String pathOrId) → Future< FormModel> - Fetches a single form using its path or ID from Form.io.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateForm(
String formId, FormModel form) → Future< FormModel> - Updates an existing form.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited