set<TType> method
Implementation
Future set<TType>(
String key,
TType? value,
) async {
if (value == null) {
await _hiveBox?.delete(key);
} else {
final encodedValue = _encodeValue(value);
_hiveBox?.put(key, encodedValue);
}
}