copyWith method
Implementation
SharedUser copyWith({
int? userId,
String? firstName,
String? lastName,
String? username,
Photo? photo,
}) => SharedUser(
userId: userId ?? this.userId,
firstName: firstName ?? this.firstName,
lastName: lastName ?? this.lastName,
username: username ?? this.username,
photo: photo ?? this.photo,
);