playNext method
dynamic
playNext()
播放下一个
Implementation
playNext() async {
if (_queue.isNotEmpty && !disposed) {
final fileModel = _queue.first;
_queue.removeAt(0);
return await _channel.invokeMethod<bool>('play', {'url': fileModel.path,'isLoop': isLoop});
}
}