Action constructor

const Action({
  1. required List<Form> forms,
  2. String? title,
  3. Map<String, String>? titles,
  4. String? description,
  5. Map<String, String>? descriptions,
  6. Map<String, DataSchema>? uriVariables,
  7. Map<String, dynamic> additionalFields = const {},
  8. bool safe = false,
  9. bool idempotent = false,
  10. bool? synchronous,
  11. DataSchema? input,
  12. DataSchema? output,
})

Creates a new Action from a List of forms.

Implementation

const Action({
  required super.forms,
  super.title,
  super.titles,
  super.description,
  super.descriptions,
  super.uriVariables,
  super.additionalFields,
  this.safe = false,
  this.idempotent = false,
  this.synchronous,
  this.input,
  this.output,
});