1. Dart
2. dart:collection
3. UnmodifiableListView<E>
4. clear method

##### UnmodifiableListView class

1. Constructors
2. UnmodifiableListView
3. Properties
4. length
5. first
6. hashCode
7. isEmpty
8. isNotEmpty
9. iterator
10. last
11. reversed
12. runtimeType
13. single
14. Methods
15. cast
16. add
17. addAll
18. any
19. asMap
20. clear
21. contains
22. elementAt
23. every
24. expand
25. fillRange
26. firstWhere
27. fold
28. followedBy
29. forEach
30. getRange
31. indexOf
32. indexWhere
33. insert
34. insertAll
35. join
36. lastIndexOf
37. lastIndexWhere
38. lastWhere
39. map
40. noSuchMethod
41. reduce
42. remove
43. removeAt
44. removeLast
45. removeRange
46. removeWhere
47. replaceRange
48. retainWhere
49. setAll
50. setRange
51. shuffle
52. singleWhere
53. skip
54. skipWhile
55. sort
56. sublist
57. take
58. takeWhile
59. toList
60. toSet
61. toString
62. where
63. whereType
64. Operators
65. operator []
66. operator +
67. operator ==
68. operator []=

description

# clear method

void clear ()
inherited

This operation is not supported by an unmodifiable list.

## Implementation

    void clear() {
      throw new UnsupportedError("Cannot clear an unmodifiable list");
    }