Event constructor

const Event({
  1. String? title,
  2. Map<String, String>? titles,
  3. String? description,
  4. Map<String, String>? descriptions,
  5. Map<String, DataSchema>? uriVariables,
  6. required List<Form> forms,
  7. DataSchema? subscription,
  8. DataSchema? data,
  9. DataSchema? cancellation,
  10. Map<String, dynamic> additionalFields = const {},
})

Creates a new Event from a List of forms.

Implementation

const Event({
  super.title,
  super.titles,
  super.description,
  super.descriptions,
  super.uriVariables,
  required super.forms,
  this.subscription,
  this.data,
  this.cancellation,
  super.additionalFields,
});