TreeApi class
Properties
-
hashCode
→ int
-
The hash code for this object. [...]
read-only, inherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
assignment(String key, String value)
→ Assignment
-
Assignments are argument entities for calls.
They are present in ie filter properties as shown below. [...]
-
atRule(String name, String value)
→ AtRule
-
-
attribute(String key, String op, String value)
→ Attribute
-
-
call(String name, [String args])
→ Call
-
-
color(List<num> rgb)
→ Color
-
-
combinator(String value)
→ Combinator
-
-
condition(String condition, Node lValue, Node rValue)
→ Condition
-
-
declaration(String name, String value)
→ Declaration
-
-
detachedRuleset(Ruleset ruleset)
→ DetachedRuleset
-
Creates a Ruleset with no css output
-
dimension(dynamic value, String unit)
→ Dimension
-
-
element(String combinator, String value)
→ Element
-
-
expression(List value)
→ Expression
-
-
keyword(String value)
→ Keyword
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed. [...]
inherited
-
operation(String op, List operands)
→ Operation
-
-
quoted(String str, String content)
→ Quoted
-
-
ruleset(String selectors, List<Node> rules)
→ Ruleset
-
ex.: ruleset('h1 div, h2 div',
declaration('prop', 'value')
);
-
selector(String elements)
→ Selector
-
-
toListNode(List value)
→ List<Node>
-
returns List from a List with Node|String|num elements
-
toNode(dynamic value)
→ Node
-
Returns Node from Node | String | num
-
toString()
→ String
-
A string representation of this object. [...]
inherited
-
url(dynamic value)
→ URL
-
-
value(dynamic value)
→ Value
-
Returns a Value node
value
is Node | num | String