copyWith method

TableSyncState copyWith({
  1. Map<String, TableSyncGroupState>? groups,
  2. bool? syncingAll,
})

Implementation

TableSyncState copyWith({
  Map<String, TableSyncGroupState>? groups,
  bool? syncingAll,
}) {
  return TableSyncState(
    groups: groups ?? this.groups,
    syncingAll: syncingAll ?? this.syncingAll,
  );
}