DevicePreviewStorage.preferences constructor
DevicePreviewStorage.preferences({
- String preferenceKey = PreferencesDevicePreviewStorage.defaultPreferencesKey,
A storage that keeps all preferences stored as json in the
preferences entry with the preferenceKey
key.
Implementation
factory DevicePreviewStorage.preferences({
String preferenceKey =
PreferencesDevicePreviewStorage.defaultPreferencesKey,
}) =>
PreferencesDevicePreviewStorage(
preferenceKey: preferenceKey,
);