Tag class

A custom key-value pair associated with a resource.

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 key identifier, or name, of the tag.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The string value associated with the key of the tag. You can set the value of a tag to an empty string, but you can't set the value of a tag to null.
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