DocumentMeta class final
One HTML metadata declaration.
Constructors
- DocumentMeta.charset(String? charset)
-
Creates a character encoding declaration.
const
- DocumentMeta.httpEquiv(String? key, String? content)
-
Creates an HTTP-equivalent metadata declaration.
const
- DocumentMeta.name(String? key, String? content)
-
Creates a named metadata declaration.
const
- DocumentMeta.property(String? key, String? content)
-
Creates a property metadata declaration, such as Open Graph data.
const
Properties
- attribute → String?
-
The identifying HTML attribute.
final
- charset → String?
-
The declared character encoding.
final
- content → String?
-
The metadata content.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- identity → String
-
Stable merge identity for this metadata kind and key.
no setter
- key → String?
-
The name, property, or HTTP header key.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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