setShuffle method

Future<void> setShuffle(
  1. bool enabled
)

Implementation

Future<void> setShuffle(bool enabled) async {
  _config = _config.copyWith(shuffle: enabled);
  _rebuildShuffle();
  _emit(value.copyWith(shuffle: enabled));
}