copyWith method
DashboardUser
copyWith({
- String? id,
- String? createdAt,
- String? emailAddress,
- DashboardUserStatus? status,
Implementation
DashboardUser copyWith(
{String? id,
String? createdAt,
String? emailAddress,
enums.DashboardUserStatus? status}) {
return DashboardUser(
id: id ?? this.id,
createdAt: createdAt ?? this.createdAt,
emailAddress: emailAddress ?? this.emailAddress,
status: status ?? this.status);
}