ComplianceFailureData class

Server Errors (406, 500, etc.)

This class represents the failure data returned for server-side issues in the CSID API.

Constructors

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

Properties

code String
The error code returned from the server in case of failure.
final
hashCode int
The hash code for this object.
no setterinherited
message String
The error message returned from the server in case of failure.
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 failure data back to JSON.
toString() String
A string representation of this object.
inherited

Operators

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