SubmitFormAction constructor
const
SubmitFormAction({
- FormService service = FormService.local,
- String payload = '',
- String validationScript = '',
- Map<
String, String> validationArguments = const {}, - String responseVariable = '',
- bool prepend = false,
- String resultVariable = '',
- List<
ActionDef> onSuccess = const [], - List<
ActionDef> onError = const [], - bool enabled = true,
- bool nonBlocking = false,
- 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,
});