ValidasiSubmit<T> class
Callable submit handle passed to ValidasiForm's builder.
submit(onSubmit) behaves exactly like the old sync-only
SubmitHandler<T> function it replaces (Dart invokes a call()-defining
class with function-call syntax), while submit.async(onSubmit) exposes
the async submit path without growing the builder's parameter list.
Constructors
-
ValidasiSubmit(ValidasiFormController<
T> _controller) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
async(
void onSubmit(T)) → Future< void> Function() -
call(
void onSubmit(T)) → VoidCallback -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited