mirror of
https://github.com/smmarty/friflex_flutter_starter.git
synced 2026-02-05 11:42:17 +00:00
refactor(app): Обновить зависимости и улучшить документацию для сервисов
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
library;
|
||||
|
||||
export 'src/i_path_provider.dart';
|
||||
export 'src/i_location_service.dart';
|
||||
export 'src/i_secure_storage.dart';
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
/// {@template i_location_service}
|
||||
/// Интерфейс для работы с геопозицией пользователя
|
||||
/// {@endtemplate}
|
||||
abstract interface class ILocationService {
|
||||
static const name = 'ILocationService';
|
||||
|
||||
/// Метод для получения координат пользователя
|
||||
Future<dynamic> getCurrentPosition();
|
||||
}
|
||||
@@ -4,6 +4,6 @@ abstract interface class IPathProvider {
|
||||
/// Наименования интерфейса
|
||||
static const name = 'IPathProvider';
|
||||
|
||||
/// Получение path на внутренне хранилище приложения
|
||||
/// Получение path на внутреннее хранилище приложения
|
||||
Future<String?> getAppDocumentsDirectoryPath();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user