copyWith method

DashboardUser copyWith({
  1. String? id,
  2. String? createdAt,
  3. String? emailAddress,
  4. 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);
}