ComplianceError class

Specific Error Model

This class represents a single error in the list of errors for client-side issues.

Constructors

ComplianceError.new({required String code, required String message})
Constructor for the specific error.
ComplianceError.fromJson(Map<String, dynamic> json)
Parses JSON data into a ComplianceError object.
factory

Properties

code String
The error code associated with the specific issue.
final
hashCode int
The hash code for this object.
no setterinherited
message String
A description of the error.
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>
Converts the error back to JSON.
toString() String
A string representation of this object.
inherited

Operators

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