getJson method

Future<String> getJson()

Implementation

Future<String> getJson() async {
  try {
    var json = await rootBundle.loadString(jsonLocation());
    return json;
  } catch (error) {
    print(error);
    rethrow;
  }
}