FFValidateFormAction constructor
FFValidateFormAction({
- @Deprecated('This field is deprecated.') String? legacyFormKey,
- @Deprecated('This field is deprecated.') FFNodeKeyReference? legacyFormKeyRef,
- bool? terminateIfValidationFails,
- FFNodeKeyPath? formNodeKeyPath,
Implementation
factory FFValidateFormAction({
@$core.Deprecated('This field is deprecated.') $core.String? legacyFormKey,
@$core.Deprecated('This field is deprecated.')
FFNodeKeyReference? legacyFormKeyRef,
$core.bool? terminateIfValidationFails,
FFNodeKeyPath? formNodeKeyPath,
}) {
final result = create();
if (legacyFormKey != null) result.legacyFormKey = legacyFormKey;
if (legacyFormKeyRef != null) result.legacyFormKeyRef = legacyFormKeyRef;
if (terminateIfValidationFails != null)
result.terminateIfValidationFails = terminateIfValidationFails;
if (formNodeKeyPath != null) result.formNodeKeyPath = formNodeKeyPath;
return result;
}