AfterSubmitAction class

The AfterSubmitAction class represents an action to be taken after a form is submitted.

Constructors

AfterSubmitAction({required AfterSubmitActionType type, String? buttonTitle, AfterSubmitActionTrigger? trigger, Duration? delay, Uri? targetUrl})
Creates a new instance of the AfterSubmitAction class.
const
AfterSubmitAction.fromJson(dynamic json)
Creates a new instance of the AfterSubmitAction class from the given JSON data.
factory

Properties

buttonTitle String?
The title of the button that was clicked to trigger the action, if applicable.
final
delay Duration?
The delay before the action is taken, if applicable.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetUrl Uri?
The URL to redirect to after the action is taken, if applicable.
final
trigger AfterSubmitActionTrigger?
The trigger that caused the action to be taken, if applicable.
final
type AfterSubmitActionType
The type of the action to be taken after form submission.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the AfterSubmitAction to a JSON.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override