deleteServiceImage function

Future<Response> deleteServiceImage(
  1. int? id
)

Implementation

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

  return response;
}