SubmitFormAction constructor

const SubmitFormAction({
  1. FormService service = FormService.local,
  2. String payload = '',
  3. String validationScript = '',
  4. Map<String, String> validationArguments = const {},
  5. String responseVariable = '',
  6. bool prepend = false,
  7. String resultVariable = '',
  8. List<ActionDef> onSuccess = const [],
  9. List<ActionDef> onError = const [],
  10. bool enabled = true,
  11. bool nonBlocking = false,
  12. Predicate? when,
})

Implementation

const SubmitFormAction({
  this.service = FormService.local,
  this.payload = '',
  this.validationScript = '',
  this.validationArguments = const {},
  this.responseVariable = '',
  this.prepend = false,
  this.resultVariable = '',
  this.onSuccess = const [],
  this.onError = const [],
  super.enabled,
  super.nonBlocking,
  super.when,
});