apiGet method
Returns the body of the given endpoint
in the specified RestAPI after
a GET request. To proper use, specify apiBaseUrl
.
Implementation
Future<String> apiGet(
String endpoint, {
Map<String, String>? headers,
}) async =>
get(apiBaseUrl! + endpoint, headers: headers);