sync product to local
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
part of 'data_sync_bloc.dart';
|
||||
|
||||
@freezed
|
||||
class DataSyncState with _$DataSyncState {
|
||||
const factory DataSyncState.initial() = _Initial;
|
||||
const factory DataSyncState.syncing(
|
||||
SyncStep step,
|
||||
double progress,
|
||||
String message,
|
||||
) = _Syncing;
|
||||
const factory DataSyncState.completed(SyncStats stats) = _Completed;
|
||||
const factory DataSyncState.error(String message) = _Error;
|
||||
}
|
||||
Reference in New Issue
Block a user