Tag class

One tag that you want to add to the specified resource. A tag consists of a Key (a name for the tag) and a Value.

Constructors

Tag({required String key, required String value})
Tag.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
The name for the tag. For example, if you want to associate Resolver resources with the account IDs of your customers for billing purposes, the value of Key might be account-id.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The value for the tag. For example, if Key is account-id, then Value might be the ID of the customer account that you're creating the resource for.
final

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