Preconditions class

Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.

Constructors

Preconditions({String? resourceVersion, String? uid})
Default constructor.
const
Preconditions.fromJson(Map<String, dynamic> json)
Creates a Preconditions from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
resourceVersion String?
Specifies the target ResourceVersion.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uid String?
Specifies the target UID.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a Preconditions instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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