Inheritance
Annotations
  • @DocsEditable()
  • @DomName('DOMTokenList')

Constructors

DomTokenList.internal_()

Properties

length int
@DocsEditable(), @DomName('DOMTokenList.length'), read-only
value String value
@DocsEditable(), @DomName('DOMTokenList.value'), @Experimental(), read / write
hashCode int
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

add(String tokens) → void
@DocsEditable(), @DomName('DOMTokenList.add'), @Experimental()
contains(String token) bool
@DocsEditable(), @DomName('DOMTokenList.contains')
item(int index) String
remove(String tokens) → void
@DocsEditable(), @DomName('DOMTokenList.remove'), @Experimental()
supports(String token) bool
@DocsEditable(), @DomName('DOMTokenList.supports'), @Experimental()
toggle(String token, [ bool force ]) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns the result of the JavaScript objects toString method.
inherited

Operators

operator ==(other) bool
The equality operator. [...]
inherited

Static Properties

instanceRuntimeType Type
@Deprecated("Internal Use Only"), read-only