medium_splash_tokenauth
medium_splash_tokenauth copied to clipboard
Changed the import for HttpHeaders
importing 'dart:_http' gave error that it can't access the private package, replacing it with 'dart:io' fixed the issue, However, authentication headers are not passed properly, printing the token gave an empty string, please help :)
@pbirdsall Nope, actually I was passing the wrong header there, there's no problem in this approach. I've just confirmed, 'dart:io' is the correct package I guess.