StatusCause class

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

Constructors

StatusCause({String? field, String? message, String? reason})
StatusCause.fromJson(Map json_)

Properties

field String?
The field of the resource that has caused this error, as named by its JSON serialization.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String?
A human-readable description of the cause of the error.
getter/setter pair
reason String?
A machine-readable description of the cause of the error.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 ==(Object other) bool
The equality operator.
inherited