ApiErrorDetails class
Error details.
- Annotations
-
- @JsonSerializable()
Constructors
- ApiErrorDetails.new({String? field, String? value, String? location, required String issue, String? description})
-
ApiErrorDetails.fromJson(Map<
String, dynamic> json) -
factory
Properties
- description ↔ String?
-
The human-readable description for an issue. The description can change
over the lifetime of an API, so clients must not depend on this value.
getter/setter pair
- field ↔ String?
-
The field that caused the error. If this field is in the body, set this
value to the field's JSON pointer value. Required for client-side errors.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- issue ↔ String
-
The unique, fine-grained application-level error code.
getter/setter pair
- location ↔ String?
-
The location of the field that caused the error. Value is body, path, or query.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ String?
-
The value of the field that caused the error.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited