@@ -56,7 +56,7 @@ abstract class LocalStorage {
5656 /// await LocalStorage.create(key: 'key', value: 'value');
5757 /// ```
5858 static Future <void > create ({
59- String collectionName = '' ,
59+ String collectionName = 'vaah-flutter-box ' ,
6060 required String key,
6161 required String value,
6262 }) {
@@ -101,7 +101,7 @@ abstract class LocalStorage {
101101 /// );
102102 /// ```
103103 static Future <void > createMany ({
104- String collectionName = '' ,
104+ String collectionName = 'vaah-flutter-box ' ,
105105 required Map <String , String > values,
106106 }) {
107107 return _instanceLocal.createMany (collectionName: collectionName, values: values);
@@ -120,7 +120,7 @@ abstract class LocalStorage {
120120 /// await LocalStorage.read(collectionName: 'posts', key: 'key');
121121 /// // Do not provide the collectionName in case of Flutter Secure Storage.
122122 /// ```
123- static Future <String ?> read ({String collectionName = '' , required String key}) {
123+ static Future <String ?> read ({String collectionName = 'vaah-flutter-box ' , required String key}) {
124124 return _instanceLocal.read (collectionName: collectionName, key: key);
125125 }
126126
@@ -140,7 +140,7 @@ abstract class LocalStorage {
140140 /// // Do not provide the collectionName in case of Flutter Secure Storage.
141141 /// ```
142142 static Future <Map <String , String ?>> readMany ({
143- String collectionName = '' ,
143+ String collectionName = 'vaah-flutter-box ' ,
144144 required List <String > keys,
145145 }) {
146146 return _instanceLocal.readMany (collectionName: collectionName, keys: keys);
@@ -154,7 +154,7 @@ abstract class LocalStorage {
154154 /// await LocalStorage.readAll(collectionName: 'posts');
155155 /// // Do not provide the collectionName in case of Flutter Secure Storage.
156156 /// ```
157- static Future <Map <String , String ?>> readAll ({String collectionName = '' }) {
157+ static Future <Map <String , String ?>> readAll ({String collectionName = 'vaah-flutter-box ' }) {
158158 return _instanceLocal.readAll (collectionName: collectionName);
159159 }
160160
@@ -172,7 +172,7 @@ abstract class LocalStorage {
172172 /// // Do not provide the collectionName in case of Flutter Secure Storage.
173173 /// ```
174174 static Future <void > update ({
175- String collectionName = '' ,
175+ String collectionName = 'vaah-flutter-box ' ,
176176 required String key,
177177 required String value,
178178 }) {
@@ -203,7 +203,7 @@ abstract class LocalStorage {
203203 /// // Do not provide the collectionName in case of Flutter Secure Storage.
204204 /// ```
205205 static Future <void > updateMany ({
206- String collectionName = '' ,
206+ String collectionName = 'vaah-flutter-box ' ,
207207 required Map <String , String > values,
208208 }) {
209209 return _instanceLocal.updateMany (collectionName: collectionName, values: values);
@@ -219,7 +219,7 @@ abstract class LocalStorage {
219219 /// // Do not provide the collectionName in case of Flutter Secure Storage.
220220 /// ```
221221 static Future <void > createOrUpdate ({
222- String collectionName = '' ,
222+ String collectionName = 'vaah-flutter-box ' ,
223223 required String key,
224224 required String value,
225225 }) {
@@ -248,7 +248,7 @@ abstract class LocalStorage {
248248 /// // Do not provide the collectionName in case of Flutter Secure Storage.
249249 /// ```
250250 static Future <void > createOrUpdateMany ({
251- String collectionName = '' ,
251+ String collectionName = 'vaah-flutter-box ' ,
252252 required Map <String , String > values,
253253 }) {
254254 return _instanceLocal.createOrUpdateMany (collectionName: collectionName, values: values);
@@ -262,7 +262,7 @@ abstract class LocalStorage {
262262 /// // Do not provide the collectionName in case of Flutter Secure Storage.
263263 /// ```
264264 static Future <void > delete ({
265- String collectionName = '' ,
265+ String collectionName = 'vaah-flutter-box ' ,
266266 required String key,
267267 }) {
268268 return _instanceLocal.delete (collectionName: collectionName, key: key);
@@ -283,7 +283,7 @@ abstract class LocalStorage {
283283 /// // Do not provide the collectionName in case of Flutter Secure Storage.
284284 /// ```
285285 static Future <void > deleteMany ({
286- String collectionName = '' ,
286+ String collectionName = 'vaah-flutter-box ' ,
287287 List <String > keys = const [],
288288 }) {
289289 return _instanceLocal.deleteMany (collectionName: collectionName, keys: keys);
@@ -303,7 +303,7 @@ abstract class LocalStorage {
303303 /// );
304304 /// // Do not provide the collectionName in case of Flutter Secure Storage.
305305 /// ```
306- static Future <void > deleteAll ({String collectionName = '' }) {
306+ static Future <void > deleteAll ({String collectionName = 'vaah-flutter-box ' }) {
307307 return _instanceLocal.deleteAll (collectionName: collectionName);
308308 }
309309}
0 commit comments