reset method

void reset()

Resets all the TextEditingControllers inside FormFieldItems and IFormFieldItems to empty

Implementation

void reset() {
  /// For each key in the map
  for (var key in _form.keys) {
    /// if is a custom widget, jump to the next one
    if (key.startsWith(_customPrefix)) continue;

    /// reset the [TextEditingController]
    _form[key]!.clear();
  }
}