Playlists constructor Null safety

Playlists(
  1. {required Dio dio,
  2. String? token,
  3. String? apiKey}
)

Implementation

Playlists({required this.dio, this.token, this.apiKey})
    : _authHeader = token != null ? 'Bearer $token' : null,
      _rest = PlaylistClient(dio);