refactor(full refactor): Рефакторинг стартера (#8)

This commit is contained in:
Yuri Petrov
2025-04-27 17:08:34 +03:00
committed by GitHub
parent 18eb7b1fe1
commit 5d7d29ecf8
206 changed files with 1065 additions and 20102 deletions

View File

@@ -5,5 +5,5 @@ abstract interface class IPathProvider {
static const name = 'IPathProvider';
/// Получение path на внутренне хранилище приложения
Future<String> getAppDocumentsDirectoryPath();
Future<String?> getAppDocumentsDirectoryPath();
}

View File

@@ -9,7 +9,9 @@ abstract interface class ISecureStorage {
});
/// Секретный ключ для шифрования данных
final String secretKey;
/// Нужен, если надо передать ключ в реализацию
/// например, в Aurora
final String? secretKey;
/// Наименования интерфейса
static const name = 'ISecureStorage';
@@ -34,13 +36,13 @@ abstract interface class ISecureStorage {
Future<void> delete(String key);
/// Метод для очистки защищенного хранилища
Future<void> clear();
Future<void> deleteAll();
/// Метод для проверки наличия значения в защищенном хранилище
///
/// Принимает:
/// - [key] - ключ
Future<bool> exists(String key);
Future<bool> containsKey(String key);
String get nameImpl;
}