shuffle function

  1. @Deprecated("Use inbuilt List.shuffle() instead")
List shuffle(
  1. List collection
)

Implementation

@Deprecated("Use inbuilt List.shuffle() instead")
List shuffle(List collection) {
  collection.shuffle();
  return collection;
}