title: How to return Future<Response> in Flutter?
body: <p>I am writing a function on Flutter, which fetches data from an API. After the function is done, I need to return variable as <code>Future&lt;Response&gt;</code></p>
  <p>Here is the function:</p>
  <pre><code>final String apiUrl =  &quot;http://api.aladhan.com/v1/calendarByCity?city=Kayseri&amp;country=Turkey&amp;method=13&amp;month=07&amp;year=2021&quot;;
  
  Future&lt;Response&gt; fetchData() async {
   var result = await http.get(Uri.parse(apiUrl));
   return result;
  }
  </code></pre>
  <p>However, I get this message from the compiler:</p>
  <pre><code>The name 'Response' isn't a type so it can't be used as a type argument.
  Try correcting the name to an existing type, or defining a type named 'Response'
  </code></pre>
  <p>Is there any other way to return that variable?</p>
  <p>Thank you</p>