getAtValue method
Retrieves the value of an AtKey from the AtClient instance
Implementation
Future<dynamic> getAtValue(AtKey key) async {
try {
var atvalue = await atClientInstance.get(key).catchError(
// ignore: return_of_invalid_type_from_catch_error
(e) => _logger
.severe('error in getAtValue in master location service : $e'));
// ignore: unnecessary_null_comparison
if (atvalue != null) {
return atvalue;
} else {
return null;
}
} catch (e) {
_logger.severe('getAtValue in master location service:$e');
return null;
}
}