ProductionCSIDResponse class

Represents the main API response from the Production CSID endpoint.

Constructors

ProductionCSIDResponse({required int statusCode, required CSIDResponseStatus status, ProductionCSIDSuccessData? successData, ProductionCSIDErrorData? errorData, ProductionCSIDFailureData? failureData})
Creates a ProductionCSIDResponse instance.
ProductionCSIDResponse.fromJson(int statusCode, Map<String, dynamic> json)
Parses JSON into the appropriate model based on status code and JSON structure.
factory

Properties

errorData → ProductionCSIDErrorData?
Error data when there's a client-side error (HTTP 400).
final
failureData → ProductionCSIDFailureData?
Failure data when there's a server-side error (HTTP 406/500).
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → CSIDResponseStatus
Categorized response status derived from the HTTP status code.
final
statusCode → int
HTTP status code of the response.
final
successData → ProductionCSIDSuccessData?
Success data when the request is successful (HTTP 200).
final

Methods

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

Operators

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