FakeProblem constructor
Creates the problem with status and code; current is the current object of a
conflict, reason a refinement, retryAfter the wait of 429 and 503.
Implementation
const FakeProblem(
this.status,
this.code, {
this.current,
this.reason,
this.retryAfter,
this.errors,
this.extra = const {},
});