Method to make remove. It's called from rust
Future<void> remove({required String key}) async { try { return _remove(key); } catch (_) { throw ErrorCode.generic; } }