ApiRequestErrorDetail class

Instances of this class can be added to a DetailedApiRequestError to provide detailed information.

This follows the Google JSON style guide: https://google.github.io/styleguide/jsoncstyleguide.xml

Constructors

ApiRequestErrorDetail({String? domain, String? reason, String? message, String? location, String? locationType, String? extendedHelp, String? sendReport})
ApiRequestErrorDetail.fromJson(Map originalJson)

Properties

domain String?
Unique identifier for the service raising this error. This helps distinguish service-specific errors (i.e. error inserting an event in a calendar) from general protocol errors (i.e. file not found).
final
extendedHelp String?
A URI for a help text that might shed some more light on the error.
final
hashCode int
The hash code for this object.
no setterinherited
location String?
The location of the error (the interpretation of its value depends on locationType).
final
locationType String?
Indicates how the location property should be interpreted.
final
message String?
A human readable message providing more details about the error. If there is only one error, this field will match error.message.
final
originalJson Map?
If this error detail gets created with the .fromJson constructor, the json will be accessible here.
final
reason String?
Unique identifier for this error. Different from the DetailedApiRequestError.status property in that this is not an http response code.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendReport String?
A URI for a report form used by the service to collect data about the error condition. This URI should be preloaded with parameters describing the request.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited