copyWith method
UserData
copyWith({
- String? isForceLogout,
- String? downloadReportXls,
- String? faviconIcon,
- String? faviconIconFull,
- num? masterUserId,
- String? masterUserIdString,
- String? name,
- String? nameSmall,
- num? inquiryTotalCount,
- String? email,
- String? assignLead,
- String? onLeave,
- String? callCenterAc,
- String? contactNo,
- String? birthdate,
- String? investorAccount,
- String? housingLeadAssign,
- String? groupId,
- String? department,
- String? isActive,
- String? type,
- num? leaveOnOff,
- String? roleType,
- String? refUserId,
- String? logo,
- String? profileImage,
- num? createdAtToday,
- String? createdAt,
- String? createdTime,
- String? updatedAt,
- List<
String> ? teamIds, - AdminGroupData? adminGroupData,
- String? cpTeamTotal,
- bool? isSelected,
Implementation
UserData copyWith({ String? isForceLogout,
String? downloadReportXls,
String? faviconIcon,
String? faviconIconFull,
num? masterUserId,
String? masterUserIdString,
String? name,
String? nameSmall,
num? inquiryTotalCount,
String? email,
String? assignLead,
String? onLeave,
String? callCenterAc,
String? contactNo,
String? birthdate,
String? investorAccount,
String? housingLeadAssign,
String? groupId,
String? department,
String? isActive,
String? type,
num? leaveOnOff,
String? roleType,
String? refUserId,
String? logo,
String? profileImage,
num? createdAtToday,
String? createdAt,
String? createdTime,
String? updatedAt,
List<String>? teamIds,
AdminGroupData? adminGroupData,
String? cpTeamTotal,
bool? isSelected,
}) => UserData( isForceLogout: isForceLogout ?? _isForceLogout,
downloadReportXls: downloadReportXls ?? _downloadReportXls,
faviconIcon: faviconIcon ?? _faviconIcon,
faviconIconFull: faviconIconFull ?? _faviconIconFull,
masterUserId: masterUserId ?? _masterUserId,
masterUserIdString: masterUserIdString ?? _masterUserIdString,
name: name ?? _name,
nameSmall: nameSmall ?? _nameSmall,
inquiryTotalCount: inquiryTotalCount ?? _inquiryTotalCount,
email: email ?? _email,
assignLead: assignLead ?? _assignLead,
onLeave: onLeave ?? _onLeave,
callCenterAc: callCenterAc ?? _callCenterAc,
contactNo: contactNo ?? _contactNo,
birthdate: birthdate ?? _birthdate,
investorAccount: investorAccount ?? _investorAccount,
housingLeadAssign: housingLeadAssign ?? _housingLeadAssign,
groupId: groupId ?? _groupId,
department: department ?? _department,
isActive: isActive ?? _isActive,
type: type ?? _type,
leaveOnOff: leaveOnOff ?? _leaveOnOff,
roleType: roleType ?? _roleType,
refUserId: refUserId ?? _refUserId,
logo: logo ?? _logo,
profileImage: profileImage ?? _profileImage,
createdAtToday: createdAtToday ?? _createdAtToday,
createdAt: createdAt ?? _createdAt,
createdTime: createdTime ?? _createdTime,
updatedAt: updatedAt ?? _updatedAt,
teamIds: teamIds ?? _teamIds,
adminGroupData: adminGroupData ?? _adminGroupData,
cpTeamTotal: cpTeamTotal ?? _cpTeamTotal,
isSelected: isSelected ?? _isSelected,
);