getDataNoHeader method

Future getDataNoHeader(
  1. String url
)

Implementation

Future<dynamic> getDataNoHeader(String url) async {
  final response = await http.get(
    Uri.parse(url),
    headers: {
      'Accept': 'application/json',
      'Content-Type': 'application/json',
      'X-LENNA-MOBILE': xLennaMobile,
    },
  );
  return jsonDecode(response.body);
}