queryFromPlaylist method

Future<SongEntity?> queryFromPlaylist(
  1. int playlistKey,
  2. int id
)

Used to query a specific song(entity) from playlist room.

Use checkIn to know if song exist on playlist room.

Parameters:

  • id this is the id of the song that will be queried.
  • playlistKey this will be the id/key of the playlist.

Return:

  • Will return a SongEntity or a Null value.

See too:

Implementation

Future<SongEntity?> queryFromPlaylist(int playlistKey, int id) async {
  return _PlaylistDao().queryFromPlaylist(playlistKey, id);
}