diff --git a/lib/utils/rest_api_utility.dart b/lib/utils/rest_api_utility.dart index 47e355a0..70080cad 100644 --- a/lib/utils/rest_api_utility.dart +++ b/lib/utils/rest_api_utility.dart @@ -15,15 +15,6 @@ class RestApiUtility { } } - Future> getList(String endpoint) async { - final response = await http.get(Uri.parse('$baseUrl/$endpoint')); - if (response.statusCode == 200) { - return json.decode(response.body); - } else { - throw Exception('Failed to load data'); - } - } - Future> post( String endpoint, Map payload) async { final response = await http.post(