Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion world_time_app/lib/pages/loading.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class _LoadingState extends State<Loading> {

void getData() async {

Response response = await get('https://jsonplaceholder.typicode.com/todos/1');
Response response = await get(Uri.http('jsonplaceholder.typicode.com', '/todos/1' ));
// print(response.body);
Map data = jsonDecode(response.body);
print(data);
Expand Down