save method Null safety

void save()

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

Implementation

void save() {
  widget.onSaved?.call(value);
}