Files
friflex_flutter_starter/lib/di/di_base_repo.dart

18 lines
870 B
Dart
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/// {@template di_base_repo}
/// Базовый миксин для всех репозиториев в приложении.
///
/// Предоставляет общую функциональность для всех репозиториев:
/// - Уникальное наименование репозитория
/// - Базовую структуру для DI контейнера
///
/// Каждый репозиторий в приложении должен использовать этот миксин
/// для обеспечения совместимости с системой зависимостей.
/// {@endtemplate}
mixin class DiBaseRepo {
/// {@macro di_base_repo}
DiBaseRepo();
/// Наименование репозитория для идентификации в DI контейнере
String get name => 'DiBaseRepo';
}