MyoroFormConfiguration<T> class
Configuration of MyoroForm.
- Annotations
-
- @immutable
- @myoroModel
Constructors
-
MyoroFormConfiguration.new({MyoroFormValidation? validation, MyoroFormRequest<
T> ? request, MyoroFormOnSuccess<T> ? onSuccess, MyoroFormOnError? onError}) -
const
- MyoroFormConfiguration.fake({T? data})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onError → MyoroFormOnError?
-
Executed when the form is completed unsuccessfully.
final
-
onSuccess
→ MyoroFormOnSuccess<
T> ? -
Executed when the form is completed successfully.
final
-
request
→ MyoroFormRequest<
T> ? -
Request that is executed after during the form process.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
self
→ MyoroFormConfiguration<
T> -
no setterinherited
- validation → MyoroFormValidation?
-
Validation function of MyoroForm.
final
Methods
-
copyWith(
{MyoroFormValidation? validation, bool validationProvided = true, MyoroFormRequest< T> ? request, bool requestProvided = true, MyoroFormOnSuccess<T> ? onSuccess, bool onSuccessProvided = true, MyoroFormOnError? onError, bool onErrorProvided = true}) → MyoroFormConfiguration<T> -
inherited
-
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