ValidationErrorMessage class
Contains error message information for a specific PaymentProductField.
- Annotations
-
- @JsonSerializable()
Constructors
- ValidationErrorMessage.new({required String errorMessage, required String paymentProductFieldId, ValidationRule? rule})
-
ValidationErrorMessage.fromJson(Map<
String, dynamic> json) -
factory
Properties
- errorMessage → String
-
Details about the validation error that was raised.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- paymentProductFieldId → String
-
The identifier of the PaymentProductField for which this error message was raised during validation.
final
- rule → ValidationRule?
-
If provided, the detailed ValidationRule that raised this error message.
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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJsonString(
String jsonString) → List< ValidationErrorMessage>