SubmissionService class

Constructors

SubmissionService(ApiClient client)

Properties

client ApiClient
API client used to make HTTP requests.
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

deleteSubmission(String formPath, String submissionId) Future<void>
Deletes a submission.
fetchById(String formPath, String submissionId) Future<SubmissionModel>
(Optional) Fetches a submission by its ID under a form.
listSubmissions(String formPath, {int? limit, int? skip, String? sort, Map<String, dynamic>? filter}) Future<List<SubmissionModel>>
Lists all submissions for a given form.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchSubmission(String formPath, String submissionId, Map<String, dynamic> data) Future<SubmissionModel>
Partially updates a submission (PATCH).
submit(String formPath, Map<String, dynamic> data) Future<SubmissionModel>
Sends a new form submission to the given form path.
toString() String
A string representation of this object.
inherited
updateSubmission(String formPath, String submissionId, Map<String, dynamic> data) Future<SubmissionModel>
Updates an existing submission (full replace).

Operators

operator ==(Object other) bool
The equality operator.
inherited