isCurrentPlaying method

bool isCurrentPlaying({
  1. required String filePath,
})

determine given path is current playing file or not

Implementation

bool isCurrentPlaying({required String filePath}) =>
    _player.isPlaying && _currentPlayingPath == filePath;