mirrored_repositories/Quizler/lib
import 'dart:convert';
import 'package:http/http.dart' as http;

class NetworkHelper {
  final String url;
  NetworkHelper(this.url);

  Future getData() async {
    http.Response response = await http.get(Uri.parse(url));

    String data = response.body;
    return jsonDecode(data);
  }
}
