title: API call returns the json string twice
body: <p>I'm trying to return a <code>json</code> string in <code>Flutter</code>. I'm using the <code>print</code> function to display the output in the console. However my code is returning the <code>String</code> twice. Here is my code:</p>
  
  <pre><code>import 'package:flutter/material.dart';
  import 'dart:convert';
  import 'package:http/http.dart' as http;
  
  
  void main() =&gt; runApp(new HomePage());
  
  class HomePage extends StatelessWidget {
  
  
  
    Future&lt;http.Response&gt; fetchPost() async{
      return await http.get('https://api.npoint.io/8c7aafe809d73af5f2b9');
    }
  
  
    void Data() async {
      var jsonString = await fetchPost();
      print(jsonString.body);
    }
  
    @override
    Widget build(BuildContext context) {
      Data();
      return new MaterialApp(
        home: new Center(
          child: new Text('Data'),
        ),
      );
    }
  }
  </code></pre>