copyWith method
AccountUserRole
copyWith({
- int? id,
- AccountUserRoleRole? role,
- int? user,
- AccountUserRoleStatus? status,
- String? code,
- String? email,
- String? phone,
Implementation
AccountUserRole copyWith(
{int? id,
enums.AccountUserRoleRole? role,
int? user,
enums.AccountUserRoleStatus? status,
String? code,
String? email,
String? phone}) {
return AccountUserRole(
id: id ?? this.id,
role: role ?? this.role,
user: user ?? this.user,
status: status ?? this.status,
code: code ?? this.code,
email: email ?? this.email,
phone: phone ?? this.phone);
}