ValidationResults class

Holds categorized validation messages received after invoice clearance.

Constructors

ValidationResults.new({List<MessageModel>? infoMessages, List<MessageModel>? warningMessages, List<MessageModel>? errorMessages, String? status})
Constructs a ValidationResults instance.
ValidationResults.fromJson(Map<String, dynamic> json)
Parses a ValidationResults object from JSON.
factory

Properties

errorMessages List<MessageModel>?
Error messages indicating validation failure.
final
hashCode int
The hash code for this object.
no setterinherited
infoMessages List<MessageModel>?
Informational messages, such as tips or suggestions.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
Overall validation status summary (e.g., "Valid", "Invalid").
final
warningMessages List<MessageModel>?
Warning messages, typically indicating non-critical issues.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the object into a JSON map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited