MyFinancialValidator class
Validador para operaciones financieras Permite configurar requisitos específicos como montos mínimos
- Inheritance
-
- Object
- JWTValidatorBase
- MyFinancialValidator
Constructors
- MyFinancialValidator.new({double minimumAmount = 0.0})
-
const
Properties
- defaultErrorMessage → String
-
Mensaje de error por defecto cuando la validación falla
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- minimumAmount → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onValidationFailed(
Request request, Map< String, dynamic> jwtPayload, String reason) → void -
Callback opcional ejecutado cuando la validación falla
inherited
-
onValidationSuccess(
Request request, Map< String, dynamic> jwtPayload) → void -
Callback opcional ejecutado cuando la validación es exitosa
override
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
Request request, Map< String, dynamic> jwtPayload) → ValidationResult -
Método obligatorio que implementa la lógica de validación
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited