FormData constructor

FormData({
  1. required String id,
  2. String? name,
  3. String? title,
  4. String? description,
  5. required List<FormComponent<DataEntity>>? components,
  6. required List<GridField>? fields,
  7. required LinkMap links,
  8. Map<Attachment, AttachmentAction>? attachmentActions,
  9. FormDataProperties? properties,
  10. List<FormFieldProperties> fieldProperties = const [],
})

Creates a FormData Object

Implementation

FormData({
  required this.id,
  this.name,
  this.title,
  this.description,
  required this.components,
  required this.fields,
  required this.links,
  Map<Attachment, AttachmentAction>? attachmentActions,
  this.properties,
  this.fieldProperties = const [],
}) : attachmentActions = attachmentActions ?? HashMap();