DublinCoreMetadata class
Specific and primary information associated to an EPUB.
This type of metadata represents info such as title, authors, contributors, language, etc.
Constructors
- DublinCoreMetadata({required String key, required String? value, String? id})
- Creates metadata describing relevant information about an EPUB.
- DublinCoreMetadata.fromXmlElement(XmlElement xml)
-
Creates a DublinCoreMetadata from an XML
<dc:
tag inside EPUB<metadata>
.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
Unique identifier in the whole EPUB.
finalinherited
- isEmpty → bool
-
Whether every attribute is empty or null.
no setteroverride
- key → String
-
The piece of metadata being represented.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
-
refinements
→ List<
DocumentMetadata> -
Additional information for this metadata.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - value → String?
-
Information associated to this metadata.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited