We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uri.https
The README has the following snippet
@riverpod Future<String> boredSuggestion(BoredSuggestionRef ref) async { final response = await http.get( Uri.https('https://boredapi.com/api/activity'), ); final json = jsonDecode(response.body); return json['activity']! as String; }
which is invalid use of Uri.https... likely should just be Uri.parse instead
Uri.parse
@riverpod Future<String> boredSuggestion(BoredSuggestionRef ref) async { final response = await http.get( - Uri.https('https://boredapi.com/api/activity'), + Uri.parse('https://boredapi.com/api/activity'), ); final json = jsonDecode(response.body); return json['activity']! as String; }
and the Bored-API used in the docs (and README) is down drewthoennes/Bored-API#83. I think it has been for about a month.
The text was updated successfully, but these errors were encountered:
Okay i see #3645 covers issues with BoredAPI, updating this issue in a moment
Sorry, something went wrong.
rrousselGit
Successfully merging a pull request may close this issue.
The README has the following snippet
which is invalid use of
Uri.https
... likely should just beUri.parse
insteadand the Bored-API used in the docs (and README) is down drewthoennes/Bored-API#83. I think it has been for about a month.The text was updated successfully, but these errors were encountered: