1. Dart
2. dart:html
3. DomTokenList
4. toggle method

##### DomTokenList class

1. Properties
2. hashCode
3. length
4. runtimeType
5. value
6. Methods
7. add
8. contains
9. item
10. noSuchMethod
11. remove
12. replace
13. supports
14. toggle
15. toString
16. Operators
17. operator ==

description

# toggle method Null safety

bool toggle (

1. String token,
2. [bool? force]

)

## Implementation

    bool toggle(String token, [bool? force]) native;