reset method

void reset()

Reset the current form state.

Implementation

void reset() {
  if (_formKey.currentState != null) {
    return _formKey.currentState!.reset();
  } else {
    throw Exception("Null Form Key State");
  }
}