queryPlaylist method

Future<PlaylistEntity?> queryPlaylist(
  1. int key
)

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

Parameters:

  • key this is the key of the playlist that will be queried.

Return:

  • Will return a PlaylistEntity or a Null value.

See too:

Implementation

Future<PlaylistEntity?> queryPlaylist(int key) async {
  return _PlaylistDao().queryPlaylist(key);
}