FakeProblem class final
A rejection of a write or read, answered as an RFC 9457 problem (06 5).
- Implemented types
Constructors
Properties
- code → String
-
The problem code of
x-problem-codes.final - current → JsonMap?
-
The current object (
412 version_conflict).final -
errors
→ List<
JsonMap> ? -
Field errors of
400 validation_failed.final - extra → JsonMap
-
Further members of the problem body, for example
hintorattempts_remaining.final - hashCode → int
-
The hash code for this object.
no setterinherited
- reason → String?
-
The refinement of the code.
final
- retryAfter → Duration?
-
The wait of
429and503.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int
-
The HTTP status.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited