ProductionError class

Represents a single error within a client error response.

Constructors

ProductionError({required String code, required String message})
Creates a ProductionError instance.
ProductionError.fromJson(Map<String, dynamic> json)
Constructs the model from a JSON map.
factory

Properties

code → String
Error code.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
Human-readable error message.
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 model to JSON.
toString() → String
A string representation of this object.
inherited

Operators

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