findAllShaderIdsByPlaylistId method
Returns a FindShaderIdsResponse
with all the shader id's
for the playlist playlistId
Upon success a list of shader ids is provided and error is set to null
In case of error a ResponseError
is set and no shader id list is provided
Implementation
@override
Future<FindShaderIdsResponse> findAllShaderIdsByPlaylistId(
String playlistId) {
return catchDioError<FindShaderIdsResponse>(
_getShaderIdsByPlaylistId(playlistId).then((playlistResponse) =>
FindShaderIdsResponse(
count: playlistResponse.ids?.length,
ids: playlistResponse.ids)),
(de) => FindShaderIdsResponse(
error: toResponseError(de,
context: contextPlaylist, target: playlistId)));
}