ValidationErrorData class

Represents detailed validation error data.

This class contains information about the error message, status, associated data, and the payment status.

Constructors

ValidationErrorData({required String? message, required String? status, dynamic data, String? paymentStatus})
Constructs a ValidationErrorData instance with the given fields.
ValidationErrorData.fromJson(Map<String, dynamic> json)
Creates a ValidationErrorData instance from a JSON object.

Properties

data ↔ dynamic
Additional data associated with the validation error.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String?
The error message describing the validation issue.
getter/setter pair
paymentStatus String?
The payment status linked to the validation error, if applicable.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
The status of the validation error.
getter/setter pair

Methods

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