get function

Future<String?> get(
  1. AtClient atClient, {
  2. required String atKeyStr,
})

Implementation

Future<String?> get(AtClient atClient, {required String atKeyStr}) async {
  AtKey atKey = AtKey.fromString(atKeyStr);
  AtValue? atValue = await atClient.get(atKey,
      getRequestOptions: GetRequestOptions()..useRemoteAtServer = true);
  return atValue.value;
}