Browse Source

Merge pull request #375 from Leptopoda/refactor/interface

neon, settings: use dart3 interface
pull/378/head
Nikolas Rimikis 2 years ago committed by GitHub
parent
commit
4b0b44293b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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