refactor(app): Форматирование

This commit is contained in:
PetrovY
2025-05-28 16:39:56 +03:00
parent c6d4700892
commit 8692757da7
6 changed files with 1 additions and 9 deletions

View File

@@ -4,9 +4,7 @@ abstract interface class ISecureStorage {
///
/// Требует:
/// - [secretKey] - секретный ключ для шифрования данных
const ISecureStorage._({
required this.secretKey,
});
const ISecureStorage._({required this.secretKey});
/// Секретный ключ для шифрования данных
/// Нужен, если надо передать ключ в реализацию

View File

@@ -6,7 +6,6 @@ import 'package:friflex_starter/features/auth/domain/repository/i_auth_repositor
/// Реализация репозитория авторизации
/// {@endtemplate}
final class AuthRepository implements IAuthRepository {
AuthRepository({required this.httpClient});
final IHttpClient httpClient;

View File

@@ -6,7 +6,6 @@ import 'package:friflex_starter/features/main/domain/repository/i_main_repositor
///
/// {@endtemplate}
final class MainRepository implements IMainRepository {
MainRepository({required this.httpClient});
final IHttpClient httpClient;

View File

@@ -6,7 +6,6 @@ import 'package:friflex_starter/features/profile/domain/repository/i_profile_rep
///
/// {@endtemplate}
final class ProfileRepository implements IProfileRepository {
ProfileRepository({required this.httpClient});
final IHttpClient httpClient;

View File

@@ -8,7 +8,6 @@ sealed class ProfileEvent extends Equatable {
}
final class ProfileFetchProfileEvent extends ProfileEvent {
const ProfileFetchProfileEvent({required this.id});
final String id;

View File

@@ -12,7 +12,6 @@ final class ProfileInitialState extends ProfileState {}
final class ProfileWaitingState extends ProfileState {}
final class ProfileErrorState extends ProfileState {
const ProfileErrorState({
required this.message,
required this.error,
@@ -27,7 +26,6 @@ final class ProfileErrorState extends ProfileState {
}
final class ProfileSuccessState extends ProfileState {
const ProfileSuccessState({required this.data});
final Object data;