@@ -56,7 +56,7 @@ abstract class LocalStorage {
56
56
/// await LocalStorage.create(key: 'key', value: 'value');
57
57
/// ```
58
58
static Future <void > create ({
59
- String collectionName = '' ,
59
+ String collectionName = 'vaah-flutter-box ' ,
60
60
required String key,
61
61
required String value,
62
62
}) {
@@ -101,7 +101,7 @@ abstract class LocalStorage {
101
101
/// );
102
102
/// ```
103
103
static Future <void > createMany ({
104
- String collectionName = '' ,
104
+ String collectionName = 'vaah-flutter-box ' ,
105
105
required Map <String , String > values,
106
106
}) {
107
107
return _instanceLocal.createMany (collectionName: collectionName, values: values);
@@ -120,7 +120,7 @@ abstract class LocalStorage {
120
120
/// await LocalStorage.read(collectionName: 'posts', key: 'key');
121
121
/// // Do not provide the collectionName in case of Flutter Secure Storage.
122
122
/// ```
123
- static Future <String ?> read ({String collectionName = '' , required String key}) {
123
+ static Future <String ?> read ({String collectionName = 'vaah-flutter-box ' , required String key}) {
124
124
return _instanceLocal.read (collectionName: collectionName, key: key);
125
125
}
126
126
@@ -140,7 +140,7 @@ abstract class LocalStorage {
140
140
/// // Do not provide the collectionName in case of Flutter Secure Storage.
141
141
/// ```
142
142
static Future <Map <String , String ?>> readMany ({
143
- String collectionName = '' ,
143
+ String collectionName = 'vaah-flutter-box ' ,
144
144
required List <String > keys,
145
145
}) {
146
146
return _instanceLocal.readMany (collectionName: collectionName, keys: keys);
@@ -154,7 +154,7 @@ abstract class LocalStorage {
154
154
/// await LocalStorage.readAll(collectionName: 'posts');
155
155
/// // Do not provide the collectionName in case of Flutter Secure Storage.
156
156
/// ```
157
- static Future <Map <String , String ?>> readAll ({String collectionName = '' }) {
157
+ static Future <Map <String , String ?>> readAll ({String collectionName = 'vaah-flutter-box ' }) {
158
158
return _instanceLocal.readAll (collectionName: collectionName);
159
159
}
160
160
@@ -172,7 +172,7 @@ abstract class LocalStorage {
172
172
/// // Do not provide the collectionName in case of Flutter Secure Storage.
173
173
/// ```
174
174
static Future <void > update ({
175
- String collectionName = '' ,
175
+ String collectionName = 'vaah-flutter-box ' ,
176
176
required String key,
177
177
required String value,
178
178
}) {
@@ -203,7 +203,7 @@ abstract class LocalStorage {
203
203
/// // Do not provide the collectionName in case of Flutter Secure Storage.
204
204
/// ```
205
205
static Future <void > updateMany ({
206
- String collectionName = '' ,
206
+ String collectionName = 'vaah-flutter-box ' ,
207
207
required Map <String , String > values,
208
208
}) {
209
209
return _instanceLocal.updateMany (collectionName: collectionName, values: values);
@@ -219,7 +219,7 @@ abstract class LocalStorage {
219
219
/// // Do not provide the collectionName in case of Flutter Secure Storage.
220
220
/// ```
221
221
static Future <void > createOrUpdate ({
222
- String collectionName = '' ,
222
+ String collectionName = 'vaah-flutter-box ' ,
223
223
required String key,
224
224
required String value,
225
225
}) {
@@ -248,7 +248,7 @@ abstract class LocalStorage {
248
248
/// // Do not provide the collectionName in case of Flutter Secure Storage.
249
249
/// ```
250
250
static Future <void > createOrUpdateMany ({
251
- String collectionName = '' ,
251
+ String collectionName = 'vaah-flutter-box ' ,
252
252
required Map <String , String > values,
253
253
}) {
254
254
return _instanceLocal.createOrUpdateMany (collectionName: collectionName, values: values);
@@ -262,7 +262,7 @@ abstract class LocalStorage {
262
262
/// // Do not provide the collectionName in case of Flutter Secure Storage.
263
263
/// ```
264
264
static Future <void > delete ({
265
- String collectionName = '' ,
265
+ String collectionName = 'vaah-flutter-box ' ,
266
266
required String key,
267
267
}) {
268
268
return _instanceLocal.delete (collectionName: collectionName, key: key);
@@ -283,7 +283,7 @@ abstract class LocalStorage {
283
283
/// // Do not provide the collectionName in case of Flutter Secure Storage.
284
284
/// ```
285
285
static Future <void > deleteMany ({
286
- String collectionName = '' ,
286
+ String collectionName = 'vaah-flutter-box ' ,
287
287
List <String > keys = const [],
288
288
}) {
289
289
return _instanceLocal.deleteMany (collectionName: collectionName, keys: keys);
@@ -303,7 +303,7 @@ abstract class LocalStorage {
303
303
/// );
304
304
/// // Do not provide the collectionName in case of Flutter Secure Storage.
305
305
/// ```
306
- static Future <void > deleteAll ({String collectionName = '' }) {
306
+ static Future <void > deleteAll ({String collectionName = 'vaah-flutter-box ' }) {
307
307
return _instanceLocal.deleteAll (collectionName: collectionName);
308
308
}
309
309
}
0 commit comments