get method

Future<Playlist> get(
  1. int playlistId
)

Gets the Playlist with the specified playlistId.

Implementation

Future<Playlist> get(int playlistId) async {
  throwIfNegative(playlistId, 'playlistId');
  final json = await _getPlaylistResponse(playlistId);
  return Playlist.fromJson(json);
}