followPlaylist method

Future<void> followPlaylist(
  1. String playlistId
)

Follows a playlist specified by playlistId.

Implementation

Future<void> followPlaylist(String playlistId) async {
  final uri = Uri.https(_baseApiHost, '/v1/playlists/$playlistId/followers');
  await _putJson(uri);
}