WIP
This commit is contained in:
parent
06bf6caadd
commit
c90b8e20dc
|
@ -18,33 +18,18 @@ class DatabaseStorage implements BaseStorage {
|
|||
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> clearAll() {
|
||||
// TODO: implement clearAll
|
||||
throw UnimplementedError();
|
||||
}
|
||||
|
||||
|
||||
@override
|
||||
Future<void> delete(String key) {
|
||||
// TODO: implement delete
|
||||
throw UnimplementedError();
|
||||
}
|
||||
|
||||
|
||||
@override
|
||||
Future<String?> get(String key) {
|
||||
// TODO: implement get
|
||||
throw UnimplementedError();
|
||||
}
|
||||
|
||||
Future<void> clearAll() => throw UnimplementedError();
|
||||
@override
|
||||
Future<void> init() {
|
||||
// TODO: implement init
|
||||
throw UnimplementedError();
|
||||
}
|
||||
|
||||
Future<void> delete(String key) => throw UnimplementedError();
|
||||
@override
|
||||
Future<void> set<T>(String key, T value) {
|
||||
// TODO: implement set
|
||||
throw UnimplementedError();
|
||||
}
|
||||
}
|
||||
Future<String?> get(String key) => throw UnimplementedError();
|
||||
@override
|
||||
Future<void> init() => throw UnimplementedError();
|
||||
@override
|
||||
Future<void> set<T>(String key, T value) => throw UnimplementedError();
|
||||
}
|
|
@ -9,6 +9,8 @@ abstract class DatabaseStorageKey implements IDatabaseStorage {
|
|||
class ProfileStorageKey extends DatabaseStorageKey {
|
||||
const ProfileStorageKey._(String key) : super(key);
|
||||
|
||||
static const String table = 'profileTable';
|
||||
|
||||
static const ProfileStorageKey userEmail = ProfileStorageKey._('fre_userEmail');
|
||||
static const ProfileStorageKey devUUID = ProfileStorageKey._('fre_devUUID');
|
||||
static const ProfileStorageKey userUUID = ProfileStorageKey._('fre_userUUID');
|
||||
|
@ -38,6 +40,8 @@ class ProfileStorageKey extends DatabaseStorageKey {
|
|||
class LocalsStorageKey extends DatabaseStorageKey {
|
||||
const LocalsStorageKey._(String key) : super(key);
|
||||
|
||||
static const table = 'localTable';
|
||||
|
||||
static const LocalsStorageKey petAmount = LocalsStorageKey._('fre_petAmountRegister');
|
||||
static const LocalsStorageKey whatsapp = LocalsStorageKey._('fre_whatsapp');
|
||||
static const LocalsStorageKey provisional = LocalsStorageKey._('fre_provisional');
|
||||
|
|
|
@ -36,8 +36,6 @@ extension SecureStorageKeyExtension on SecureStorageKey {
|
|||
return 'fre_have_local';
|
||||
case SecureStorageKey.deviceDescription:
|
||||
return 'fre_deviceDescription';
|
||||
default:
|
||||
return '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue