putText method
Future<AtResponse>
putText(
- AtKey atKey,
- String value, {
- PutRequestOptions? putRequestOptions,
override
put's the text data into the keystore
Implementation
@override
Future<AtResponse> putText(AtKey atKey, String value,
{PutRequestOptions? putRequestOptions}) async {
try {
// Setting metadata.isBinary to false for putText
atKey.metadata.isBinary = false;
return await _putInternal(atKey, value, putRequestOptions);
} on AtException catch (e) {
throw AtExceptionManager.createException(e);
}
}