dvModelFormFields top-level property
The fields a generated form may show for each model type.
The serializer a form reads is the model's internal one and carries every
field, a @DVModel.sensitiveField() included, because it is also what
persistence and sync use. A form must not render, prefill or accept a
value for a sensitive field, so the generator registers the fields a form
may show -- everything but the sensitive ones, unless a field opted back
in with @DVModel.sensitiveField(showInForms: true) -- and the form keeps
to that set.
Implementation
final Map<Type, Set<String>> dvModelFormFields = {};