getFreeAtsigns method
Implementation
Future<dynamic> getFreeAtsigns() async {
// if init was not called earlier, call here to initialize the http
if (!initialized) {
_init();
}
var url = Uri.https(AppConstants.apiEndPoint, '${AppConstants.apiPath}${AppConstants.getFreeAtsign}');
var response = await _http.get(url, headers: {
"Authorization": '${AppConstants.apiKey}',
"Content-Type": "application/json"
});
return response;
}