onSaved property

void Function(Set<T> values)? onSaved
final

An optional method to call with the final value when the form is saved via FormState.save.

Implementation

final void Function(Set<T> values)? onSaved;