httpCalls library

Functions

deleteFromDB({required String api, required String apiKey}) Future<Map>
Generic Delete function to make delete API calls
getFromDB({required String api, required String apiKey}) Future<Map>
Generic Get function to make Get API calls
postToDB({required String api, required String apiKey, required Map<String, dynamic> body, Map<String, String>? headers}) Future<Map>
helper methods for http requests TODO: Map httpCalls to Singleton Class Generic Post function to make Post API calls
putOnDB({required String api, required String apiKey, required Map body}) Future<Map>
Generic Put function to make Put API calls