Skip to content

Commit 74ff59c

Browse files
committed
Updated: documentation comments
Updated: documentation for create(Many), read(Many) Updated: documentation for readAll, update(Many)) Updated: documentation for createOrUpdate(Many) Updated: documentation delete(Many, All) Updated: documentation for add()
1 parent b05e28b commit 74ff59c

File tree

3 files changed

+321
-63
lines changed

3 files changed

+321
-63
lines changed

lib/vaahextendflutter/services/storage/local/services/flutter_secure_storage.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ class LocalStorageWithFlutterSecureStorage implements LocalStorageService {
375375
try {
376376
await _storage.deleteAll();
377377
return const StorageResponse(
378-
data: '',
378+
data: null,
379379
message: 'Deleted all entries.',
380380
isSuccess: true,
381381
);

lib/vaahextendflutter/services/storage/local/services/hive.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class LocalStorageWithHive implements LocalStorageService {
188188
} else {
189189
return StorageResponse(
190190
data: data,
191-
message: 'Read $remainingKeys/${keys.length}.',
191+
message: 'Read ${keys.length - remainingKeys}/${keys.length}.',
192192
errors: errors,
193193
isPartialSuccess: true,
194194
);
@@ -311,7 +311,7 @@ class LocalStorageWithHive implements LocalStorageService {
311311
} else {
312312
return StorageResponse(
313313
data: success,
314-
message: 'Updated $remainigEntries/${values.length} entries.',
314+
message: 'Updated ${values.length - remainigEntries}/${values.length} entries.',
315315
errors: errors,
316316
isPartialSuccess: true,
317317
);

0 commit comments

Comments
 (0)