part of 'assigned_staff_bloc.dart';

@immutable
class AssignedStaffState {
  final List<StaffContact> staffContacts;
  final String department;
  final bool inLoading;

  const AssignedStaffState({required this.staffContacts, required this.department,  this.inLoading = false});

  copyWith({
    List<StaffContact>? staffContacts,
    String? department,
    bool? canManualAssign,
    bool? inLoading,
  }) {
    return AssignedStaffState(
      staffContacts: staffContacts ?? this.staffContacts,
      department: department ?? this.department,
      inLoading: inLoading ?? this.inLoading,
    );
  }
}
