mirror of
https://github.com/smmarty/friflex_flutter_starter.git
synced 2025-12-22 01:20:46 +00:00
feat(app): add script and tasks
This commit is contained in:
@@ -15,8 +15,8 @@ final class AppSecureStorage implements ISecureStorage {
|
||||
@override
|
||||
final String secretKey;
|
||||
|
||||
@override
|
||||
String get name => 'AuroraAppSecureStorage';
|
||||
|
||||
static const name = 'AuroraAppSecureStorage';
|
||||
|
||||
/// Экземпляр хранилища данных
|
||||
final _box = const FlutterSecureStorage();
|
||||
@@ -45,4 +45,7 @@ final class AppSecureStorage implements ISecureStorage {
|
||||
Future<void> write(String key, String value) async {
|
||||
await _box.write(key: key, value: value);
|
||||
}
|
||||
|
||||
@override
|
||||
String get nameImpl => AppSecureStorage.name;
|
||||
}
|
||||
|
||||
@@ -41,4 +41,7 @@ final class AppSecureStorage implements ISecureStorage {
|
||||
Future<void> write(String key, String value) async {
|
||||
await _box.write(key: key, value: value);
|
||||
}
|
||||
|
||||
@override
|
||||
String get nameImpl => AppSecureStorage.name;
|
||||
}
|
||||
|
||||
@@ -41,4 +41,6 @@ abstract interface class ISecureStorage {
|
||||
/// Принимает:
|
||||
/// - [key] - ключ
|
||||
Future<bool> exists(String key);
|
||||
|
||||
String get nameImpl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user