JsonLdParser class
Takes a http.document
and parses Metadata from json-ld
data in <script>
- Mixed-in types
Constructors
- JsonLdParser(Document? document)
Properties
- description ↔ String?
-
Get the Metadata.description from the tag
getter/setter pairinherited-setteroverride-getter
- document ↔ Document?
-
The document to be parse
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- image ↔ String?
-
Get the Metadata.image from the first tag in the body;s
getter/setter pairinherited-setteroverride-getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
Get the Metadata.title from the
<title>
taggetter/setter pairinherited-setteroverride-getter - url ↔ String?
-
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
) → Metadata -
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited