Element class final
An element with attributes and children.
Constructors
Properties
-
attributes
→ Map<
String, Object?> -
truewrites the bare attribute (disabled);false/nullomit it.final -
children
→ List<
HtmlNode> -
The child nodes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tag → String
-
The tag name.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
) → String -
The node's HTML.
inherited
-
toResponse(
Request request) → Response -
The response for
request.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
writeTo(
StringSink out) → void -
Writes the node's HTML to
out.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited