title: error: The argument type 'String' can't be assigned to the parameter type 'Uri'. usingJsonPlaceHolder
body: <p><a href="https://i.stack.imgur.com/GPZv8.png" rel="nofollow noreferrer">error image</a><br />
  I am trying to run this code but getting errors, can anyone help? I have tried making strings, but still, I get the same error.</p>
  <p>error: The argument type 'String' can't be assigned to the parameter type 'Uri'. (argument_type_not_assignable at [world_time] lib\pages\loading.dart:17)<a href="https://i.stack.imgur.com/GPZv8.png" rel="nofollow noreferrer">enter image description here</a></p>
  <pre class="lang-dart prettyprint-override"><code>import 'package:flutter/material.dart';
  import 'package:http/http.dart';
  import 'dart:convert';
  import 'dart:core';
  
  class Loading extends StatefulWidget {
    @override
    _LoadingState createState() =&gt; _LoadingState();
  }
  
  class _LoadingState extends State&lt;Loading&gt; {
  
  
    void getData() async {
      Response response = await get(
          'https://jsonplaceholder.typicode.com/todos/1');
      print(response.body);
    }
  
    @override
    void initState() {
      super.initState();
      getData();
    }
  
    @override
    Widget build(BuildContext context) {
      return Scaffold(
        body: Text('loading screen'),
      );
    }?
  }
  </code></pre>