getValue method
Retrieves the value for a given form configuration.
Returns the form value if it exists, otherwise returns null
.
Implementation
FormValue? getValue(FormConfig config) {
if (formValues.any((form) => form.id == config.id)) {
return formValues.firstWhere((form) => form.id == config.id);
}
return null;
}