getImagePath method

Future getImagePath()

Implementation

Future getImagePath() async {
  var decodedResponse;
  final response = await http.get(
    Uri.parse('https://eb.choiceinsurance.in/api/constants'),
  );
  decodedResponse = json.decode(response.body);
  ImagePathData = decodedResponse['data'];
}