Dart
dart:core
List
<
E
>
shuffle abstract method
shuffle
description
shuffle
method
Null safety
void
shuffle
(
[
Random
?
random
]
)
Shuffles the elements of this list randomly.
Implementation
void shuffle([Random? random]);
Dart
dart:core
List
<
E
>
shuffle abstract method
List class
Constructors
List
empty
filled
from
generate
of
unmodifiable
Properties
first
hashCode
isEmpty
isNotEmpty
iterator
last
length
reversed
runtimeType
single
Methods
add
addAll
any
asMap
cast
clear
contains
elementAt
every
expand
fillRange
firstWhere
fold
followedBy
forEach
getRange
indexOf
indexWhere
insert
insertAll
join
lastIndexOf
lastIndexWhere
lastWhere
map
noSuchMethod
reduce
remove
removeAt
removeLast
removeRange
removeWhere
replaceRange
retainWhere
setAll
setRange
shuffle
singleWhere
skip
skipWhile
sort
sublist
take
takeWhile
toList
toSet
toString
where
whereType
Operators
operator +
operator ==
operator []
operator []=
Static methods
castFrom
copyRange
writeIterable
Cookies management controls