Tag class

The metadata that you apply to a resource to help you categorize and organize it. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters. Tag values can have a maximum length of 256 characters.

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
One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The optional part of a key-value pair that makes up a tag. A value acts as a descriptor in a tag category (key).
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