SomFormMeta constructor

const SomFormMeta({
  1. required List<SomFormFieldMeta> fields,
})

Takes the fields already in declaration order. That order is the form's serialization and render order in every codec, so this constructor deliberately does not sort — passing an alphabetised list would reorder the emitted document.

Implementation

const SomFormMeta({required this.fields});