ErrorPlainResponse class
Represents a standardized error response from the FingerprintJS Pro API.
Constructors
- ErrorPlainResponse({required int status, required String error, required String message})
-
Constructor for ErrorPlainResponse.
const
-
ErrorPlainResponse.fromJson(Map<
String, dynamic> json) -
Factory constructor to create an instance from a JSON object.
factory
Properties
- error → String
-
A short error code or summary.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A human-readable description of the error.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int
-
The HTTP status code of the error response.
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 representation.
-
toString(
) → String -
Returns a string representation of the error response.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited