Source
@override bool get paused { return _paused; }
Source
@override set paused(bool value) { if (_paused == value) { // nothing has changed } else if (_audioElement == null || _stopped) { // we can't pause/resume the audio playback. _paused = _stopped || value; } else if (value) { _position = this.position; _paused = true; _audioElement.pause(); _stopCompleteTimer(); } else { _paused = false; _audioElement.play(); _startCompleteTimer(_duration - _position); } }