get method
Returns AtFollowsValue
for atKey
.
Implementation
Future<AtFollowsValue> get(AtKey atkey) async {
var response = await AtClientManager.getInstance()
.atClient
.get(atkey)
.timeout(Duration(seconds: AppConstants.responseTimeLimit),
onTimeout: () => _onTimeOut());
AtFollowsValue val = AtFollowsValue();
val
..metadata = response.metadata
..value = response.value
..atKey = atkey;
return val;
}