From a7c0a683671c5f8d2a86e40dec6315fd197f8603 Mon Sep 17 00:00:00 2001 From: Benoit Rolandeau Date: Fri, 7 Mar 2025 10:38:55 +0100 Subject: [PATCH] Fix tb storage interface --- lib/src/storage/tb_storage.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/storage/tb_storage.dart b/lib/src/storage/tb_storage.dart index 20edc54..4e8faf2 100644 --- a/lib/src/storage/tb_storage.dart +++ b/lib/src/storage/tb_storage.dart @@ -12,7 +12,7 @@ abstract class TbStorage { /// /// If [defaultValue] is specified, it is returned in case the key does not /// exist. - E? getItem(String key, {E? defaultValue}); + Future getItem(String key, {E? defaultValue}); /// Checks whether the storage contains the [key]. bool containsKey(String key);