validateForm method

Future<bool> validateForm()

Implementation

Future<bool> validateForm() async {
  if (formsKey.currentState!.validate()) {
    return true;
  } else {
    return false;
  }
}