DocumentMetadata class
Relevant and flexible information associated to an Item, another Metadata, or the EPUB package itself.
Constructors
- DocumentMetadata({String? refinesTo, String? property, String? value, String? id, String? scheme, String? name, String? content})
- Creates metadata that could be either for another element or the EPUB package itself.
- DocumentMetadata.fromXmlElement(XmlElement xml)
-
Creates a DocumentMetadata from an XML
<meta>
tag inside EPUB<metadata>
.factory
Properties
- content → String?
-
Content of the metadata element in EPUB2.
final
- 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
- name → String?
-
Property being described to refinesTo in EPUB2.
final
- property → String?
-
Property being described to refinesTo.
no setter
-
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
- refinesTo → String?
-
Identifier of the described item or metadata.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheme → String?
-
Formal definition of property.
final
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - value → String?
-
Content of the metadata element.
no setteroverride
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