sync bloc
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user