Browse Source

neon, settings: use dart3 interface

pull/375/head
Nikolas Rimikis 1 year ago
parent
commit
eb52daf6ce
No known key found for this signature in database
GPG Key ID: 85ED1DE9786A4FF2
  1. 2
      packages/neon/neon/lib/src/utils/storage.dart
  2. 2
      packages/settings/lib/src/storage/storage.dart

2
packages/neon/neon/lib/src/utils/storage.dart

@ -1,6 +1,6 @@
part of '../../neon.dart';
class AppStorage extends SettingsStorage {
class AppStorage implements SettingsStorage {
AppStorage(
this._id,
this._sharedPreferences,

2
packages/settings/lib/src/storage/storage.dart

@ -1,6 +1,6 @@
part of '../../settings.dart';
abstract class SettingsStorage {
abstract interface class SettingsStorage {
String? getString(final String key);
Future setString(final String key, final String value);

Loading…
Cancel
Save