PlatformDefault property
Pre-made storage strategy which implementations depends on the native platform:
- on Android, it uses Androidx DataStore.
- on iOS, iPadOS, macOS & watchOS, it uses NSUserDefaults.
- Browser is currently not supported for the Dart Cardinal SDk.
Implementation
static final StorageOptions PlatformDefault =
StorageOptions._internal({"kotlinType": "com.icure.cardinal.sdk.dart.options.DartStorageOptions.Default"});