TwitterCardParser class
Takes a http.Document
and parses Metadata from <meta property='twitter:*'>
tags
- Mixed-in types
Constructors
- TwitterCardParser(Document? _document)
Properties
- description ↔ String?
-
Get Metadata.description from 'twitter:description'
getter/setter pairinherited-setteroverride-getter
- hashCode → int
-
The hash code for this object.
no setterinherited
- image ↔ String?
-
Get Metadata.image from 'twitter:image'
getter/setter pairinherited-setteroverride-getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
Get Metadata.title from 'twitter:title'
getter/setter pairinherited-setteroverride-getter
- url ↔ String?
-
Twitter Cards do not have a url property so get the url from
og:url
, if available.getter/setter pairinherited-setteroverride-getter
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