FindPlaylistIdsResponse constructor

FindPlaylistIdsResponse({
  1. int? count,
  2. List<String>? ids,
  3. ResponseError? error,
})

Builds a FindPlaylistIdsResponse

total: The total number of playlist ids returned ids: The list of ids error: An error if there was error while fetching the playlist ids

Implementation

FindPlaylistIdsResponse({int? count, this.ids, super.error})
    : total = count ?? ids?.length ?? 0;