copyWith method
Implementation
UserInfo copyWith({
String? id,
String? educationSystem,
String? department,
String? className,
String? name,
String? pictureUrl,
String? email,
Uint8List? pictureBytes,
}) {
return UserInfo(
id: id ?? this.id,
educationSystem: educationSystem ?? this.educationSystem,
department: department ?? this.department,
className: className ?? this.className,
name: name ?? this.name,
pictureUrl: pictureUrl ?? this.pictureUrl,
email: email ?? this.email,
pictureBytes: pictureBytes ?? this.pictureBytes,
);
}