copyWith method
Implementation
SyncState copyWith({
bool? isSynchronizing,
bool? cancelRequested,
}) {
return SyncState(
isSynchronizing: isSynchronizing ?? this.isSynchronizing,
cancelRequested: cancelRequested ?? this.cancelRequested,
);
}