MessageTag class

One message tag. A tag with an empty value is the same as a tag with no value, so both parse to value: None.

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
The tag name, including a leading + on a client-only tag and any vendor prefix.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String?
The unescaped value.
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