shuffle method

  1. @alwaysThrows
  2. @override
void shuffle([
  1. Random? random
])
override

This operation is not supported by an unmodifiable list.

Implementation

@alwaysThrows
@override
void shuffle([Random? random]) {
  throw UnsupportedError('Cannot modify an unmodifiable list');
}