You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
590 B
Dart
30 lines
590 B
Dart
enum Gender { male, female }
|
|
|
|
/// The information of the user doing scanning.
|
|
class UserInfo {
|
|
late double age;
|
|
late Gender gender;
|
|
double? weight;
|
|
double? height;
|
|
double? waistCircumference;
|
|
bool? smoker;
|
|
bool? hypertension;
|
|
bool? bpMedication;
|
|
bool? diabetic;
|
|
String? userId;
|
|
String? appUserId;
|
|
|
|
UserInfo(
|
|
{required this.age,
|
|
required this.gender,
|
|
this.weight,
|
|
this.height,
|
|
this.waistCircumference,
|
|
this.smoker,
|
|
this.hypertension,
|
|
this.bpMedication,
|
|
this.diabetic,
|
|
this.userId,
|
|
this.appUserId});
|
|
}
|