save method

void save ()

Calls the FormField's onSaved method with the current value.

Implementation

void save() {
  if (widget.onSaved != null)
    widget.onSaved(value);
}