sync bloc

This commit is contained in:
efrilm
2025-10-24 22:25:01 +07:00
parent 4fdd1e44f8
commit 6892895021
10 changed files with 965 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
part of 'sync_bloc.dart';
@freezed
class SyncState with _$SyncState {
const factory SyncState({
@Default(false) bool isSyncing,
@Default(0.0) double progress,
SyncStep? currentStep,
String? message,
SyncStats? stats,
String? errorMessage,
}) = _SyncState;
factory SyncState.initial() => const SyncState();
}