We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b79e9c9 commit 4964fedCopy full SHA for 4964fed
packages/core/lib/utils/store/unsupported.dart
@@ -4,6 +4,8 @@ import 'package:segment_analytics/errors.dart';
4
import 'store.dart';
5
6
class StoreImpl with Store {
7
+ final bool storageJson;
8
+ StoreImpl({this.storageJson = true});
9
@override
10
Future<Map<String, dynamic>?> getPersisted(String key) {
11
throw PlatformNotSupportedError();
@@ -27,3 +29,6 @@ class StoreImpl with Store {
27
29
28
30
}
31
32
+
33
+// StoreImpl createStoreImpl({bool storageJson = true}) => StoreImpl(storageJson: storageJson);
34
+// }
0 commit comments