Problem class final
Constructors
-
Problem({required String type, required String title, required int status, required String detail, String? instance, required String code, required String fix, required String requestId, required RetryClass retry, List<
FieldError> ? errors, int? requestedConfigVersion, int? minimumVersion}) -
const
-
Problem.fromJson(Map<
String, Object?> json) -
factory
Properties
- code → String
-
Registry error code (18 §5.4); lowerCamelCase, stable forever.
final
- detail → String
-
Human-readable description of this occurrence.
final
-
errors
→ List<
FieldError> ? -
Per-field findings when the code is validation-shaped.
final
- fix → String
-
The concrete next step that resolves the error.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instance → String?
-
URI for this occurrence; rarely present.
final
- minimumVersion → int?
-
The effective environment floor that denies a configVersionRetired request.
final
- requestedConfigVersion → int?
-
The published version explicitly pinned by a configVersionRetired request.
final
- requestId → String
-
Correlates to the FFX-Request-Id response header.
final
- retry → RetryClass
-
Whether and how the failed request may be retried.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int
-
The HTTP status, duplicated in the body.
final
- title → String
-
Registry title for the code; stable per code.
final
- type → String
-
Problem-type URI, https://docs-dev.flutterflow.cloud/errors/{code}.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited