title: Uri' is from 'dart:core'
body: <p><strong>bin/dart_application_1.dart:18:74: Error: The argument type 'String' can't be assigned to the parameter type 'Uri'.  - 'Uri' is from 'dart:core'.       await http.get(&quot;https://jsonplaceholder.typicode.com/users/$userId&quot;);</strong></p>
  <pre><code>import 'dart:convert';
  
  void main(List&lt;String&gt; arguments) {
    fetchUserId();
  }
  
  void fetchUserId() async {
    print('before');
    var result = await fetchUser(5);
  }
  
  // future
  Future&lt;Map&lt;String, String&gt;&gt; fetchUser(int userId) async {
    // return Future.delayed(
    //     Duration(seconds: 5), () =&gt; {'id': userId.toString(), 'name': 'Max'});
    var responce =
        await http.get('https://jsonplaceholder.typicode.com/users/$userId');
    var map = json.decode(responce.body) as Map;
    return {'id': map['id'].toString(), 'name': map['name']};
  }
  </code></pre>