put method

Future<bool> put(
  1. AtKey atKey,
  2. String? value
)

Returns true on storing/updating atKey.

Implementation

Future<bool> put(AtKey atKey, String? value) async {
  return await AtClientManager.getInstance()
      .atClient
      .put(atKey, value)
      .timeout(Duration(seconds: AppConstants.responseTimeLimit),
          onTimeout: () => _onTimeOut());
}