validateLiteForm function

Future<bool> validateLiteForm(
  1. String formName
)

This method is made asynchronous because validators in LiteForms can be asynchronous unlike many in other form packages

Implementation

Future<bool> validateLiteForm(String formName) async {
  return await liteFormController.validateForm(
    formName: formName,
  );
}