deleteContact method

Future<bool> deleteContact(
  1. dynamic id
)

Implementation

Future<bool> deleteContact(id) async {
  NetworkResponse response = await _api.deleteContact(id);
  return response.data ?? false;
}