toModel method
Implementation
Map<String, Object?> toModel(
Map<String, Object?> document, {
List<String>? selectedFields,
}) {
FormResultFree formResult = validate(document);
var res = formResult.formValues(selectedFields: selectedFields);
return res;
}