deleteServiceMapping function
Implementation
Future<http.Response> deleteServiceMapping(int? id) async {
final http.Response response = await http.delete(
Uri.parse('https://192.168.1.106:45455/api/ServiceMappingModels/$id'),
headers: <String, String>{
'Content-Type': 'application/json; charset=UTF-8',
},
);
return response;
}