mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-06 13:59:19 +08:00
12 lines
354 B
Dart
12 lines
354 B
Dart
abstract interface class Config {
|
|
Future<bool> clear();
|
|
bool containsKey(String key);
|
|
Object? get(String key);
|
|
String? getString(String key);
|
|
Future<bool> setString(String key, String value);
|
|
int? getInt(String key);
|
|
Future<bool> setInt(String key, int value);
|
|
bool? getBool(String key);
|
|
Future<bool> setBool(String key, bool value);
|
|
}
|