findAllPlaylistIds method
Returns a FindPlaylistIdsResponse
with all the playlist id's
Upon success a list of playlist ids is provided and error is set to null
In case of error a ResponseError
is set and no playlist id list is provided
Implementation
@override
Future<FindPlaylistIdsResponse> findAllPlaylistIds() {
return catchSqlError<FindPlaylistIdsResponse>(
store.playlistDao
.findAllIds()
.then((value) => FindPlaylistIdsResponse(ids: value)),
(sqle) => FindPlaylistIdsResponse(
error: toResponseError(sqle, context: contextPlaylist)),
options);
}