StatusCause class

StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.


StatusCause.fromJson(Map _json)


field String
The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: "name" - the field "name" on the current resource "" - the field "name" on the first array entry in "items" +optional
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
message String
A human-readable description of the cause of the error. This field may be presented as-is to a reader. +optional
read / write
reason String
A machine-readable description of the cause of the error. If this value is empty there is no information available. +optional
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]