Error class

Available Extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Error({ErrorErrorType? errorType, String? errorCode, String? errorMessage, String? displayMessage, String? requestId, List<Object>? causes, double? status, String? documentationUrl, String? suggestedAction})
Error.fromJson(Map<String, dynamic> json)
factory

Properties

causes List<Object>?
final
displayMessage String?
final
documentationUrl String?
final
errorCode String?
final
errorMessage String?
final
errorType ErrorErrorType?
final
hashCode int
The hash code for this object.
no setterinherited
requestId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status double?
final
suggestedAction String?
final

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.
inherited

Operators

operator ==(dynamic other) bool
The equality operator.
override

Constants

fromJsonFactory → const Error Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(Error instance)