exists method
Implementation
@override
Future<bool> exists(String modulePath) async {
try {
final response = await http.head(Uri.parse(modulePath));
// Check if the response status code indicates success (2xx)
return response.statusCode >= 200 && response.statusCode < 300;
} catch (e) {
return false;
}
}