summaryrefslogtreecommitdiffstats
path: root/lib/music_methods/modeClass.dart
blob: 1cb612297ed0887a1e6d9310dad8efd799973f48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-License-Identifier: Apache-2.0
class Mode{
  Mode({required this.isRepeat, required this.isSingle, required this.prev});

  final bool isSingle;
  final bool isRepeat;
  final bool prev;


  Mode copyWith({bool? isSingle , bool? isRepeat, bool? prev}){
    return Mode(isRepeat: isRepeat ?? this.isRepeat, isSingle: isSingle ?? this.isSingle, prev: prev ?? this.prev);
  }


}