advertisement_UpdateAppList_Api function
Implementation
Future advertisement_UpdateAppList_Api(String updateAppListUrl) async {
if (updateAppListUrl != "") {
final responseUpdateAppList = await http.get(Uri.parse(updateAppListUrl));
if (responseUpdateAppList.statusCode == 200) {
update_app_list =
UpdateAppList.fromJson(jsonDecode(responseUpdateAppList.body));
} else {
throw Exception('Failed to load album');
}
}
}