PreconditionFailure_Violation class final

A message type used to describe a single precondition failure.

Inheritance
  • Object
  • ProtoMessage
  • PreconditionFailure_Violation

Constructors

PreconditionFailure_Violation({String? type, String? subject, String? description})
PreconditionFailure_Violation.fromJson(Map<String, dynamic> json)
factory

Properties

description String?
A description of how the precondition failed. Developers can use this description to understand how to fix the failure.
final
hashCode int
The hash code for this object.
no setterinherited
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject String?
The subject, relative to the type, that failed. For example, "google.com/cloud" relative to the "TOS" type would indicate which terms of service is being referenced.
final
type String?
The type of PreconditionFailure. We recommend using a service-specific enum type to define the supported precondition violation subjects. For example, "TOS" for "Terms of Service violation".
final

Methods

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

Operators

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

Constants

fullyQualifiedName → const String