IdentifierMetaData class

Represents identifiable metadata with a key-value pair.

This class is used to hold metadata that can be identified by a key, along with its associated value. It is useful for storing additional information that can be referenced by a unique identifier.

Available extensions

Constructors

IdentifierMetaData({required String key, required String value})
Initializes a new instance of the IdentifierMetaData class.
IdentifierMetaData.fromJson(Map<String, dynamic> json)
Creates an instance of IdentifierMetaData from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
The key associated with the metadata.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The value of the metadata.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts an IdentifierMetaData instance to a JSON map.
toMap() Map<String, dynamic>

Available on IdentifierMetaData, provided by the IdentifierMetaDataToMap extension

Converts an IdentifierMetaData instance to a map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited