callPublic method
Implementation
Future<String> callPublic(String path,
{Map<String, String>? parameters}) async {
var url = '$URL$path';
if (parameters != null) {
url += '?';
parameters.forEach((k, v) => url += '$k=$v&');
}
var response = await client.get(Uri.parse(url));
return response.body;
}