PlaybackState.from constructor
PlaybackState.from(
- int i
Implementation
factory PlaybackState.from(int i) {
const states = [
PlaybackState.stopped,
PlaybackState.playing,
PlaybackState.paused,
];
return states[i];
}