MetadataTag class

Represents a metadata tag with a key-value pair

Constructors

MetadataTag({required String key, required dynamic value, TagType type = TagType.text})
const
MetadataTag.binary(String key, Uint8List value)
Creates a binary tag (for album art, etc.)
factory
MetadataTag.number(String key, num value)
Creates a number tag
factory
MetadataTag.text(String key, String value)
Creates a text tag
factory

Properties

hashCode → int
The hash code for this object.
no setteroverride
key → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → TagType
final
value → dynamic
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override