deleteForm method

Future<void> deleteForm(
  1. String formId
)

Deletes a form from the Form.io project.

Makes a DELETE /form/:formId request.

formId is the unique ID of the form to delete.

Throws DioException on failure.

Implementation

Future<void> deleteForm(String formId) async {
  await client.dio.delete('/form/$formId');
}