Method to make set. It's called from rust
Future<void> set({required String key, required String value}) async { try { return _set(key: key, value: value); } catch (_) { throw ErrorCode.Generic; } }