This repository has been archived on 2024-10-18. You can view files and clone it, but cannot push or open issues or pull requests.
ftc_patient_app/lib/models/clients/body_points_manager.dart

50 lines
1.9 KiB
Dart

import 'package:get/get_rx/src/rx_types/rx_types.dart';
class BodyPointsManager {
double? triangleTopPosition;
double? triangleBottomPosition;
double? triangleRightPosition;
double? triangleLeftPosition;
double? dialogTopPosition;
double? dialogBottomPosition;
double? dialogRightPosition;
double? dialogLeftPosition;
String pointName = "";
String healthNote = "";
String complaint = "";
String lastUpdate = "";
String pointParentId = "";
String pointId = "";
String pointIssueId = "";
RxBool isPointInactive = true.obs;
RxBool pointVisibility = false.obs;
RxString pointStatusSelectedDropdownValue = "Active".obs;
String serviceUserId = "";
BodyPointsManager.empty();
BodyPointsManager.addPoint({
required this.pointParentId,
required this.isPointInactive,
required this.pointId,
required this.pointName,
required this.pointVisibility,
required this.pointStatusSelectedDropdownValue,
this.triangleTopPosition,
this.triangleBottomPosition,
this.triangleRightPosition,
this.triangleLeftPosition,
this.dialogTopPosition,
this.dialogBottomPosition,
this.dialogRightPosition,
this.dialogLeftPosition,
required this.healthNote,
required this.complaint,
required this.lastUpdate,
});
@override
String toString() {
return 'BodyPointsManager{Point Id $pointId,triangleTopPosition: $triangleTopPosition, triangleBottomPosition: $triangleBottomPosition, triangleRightPosition: $triangleRightPosition, triangleLeftPosition: $triangleLeftPosition, dialogTopPosition: $dialogTopPosition, dialogBottomPosition: $dialogBottomPosition, dialogRightPosition: $dialogRightPosition, dialogLeftPosition: $dialogLeftPosition, pointName: $pointName, healthNote: $healthNote, complaint: $complaint, lastUpdate: $lastUpdate, isPointInactive: $isPointInactive, pointVisibility: $pointVisibility, pointStatusSelectedDropdownValue: $pointStatusSelectedDropdownValue}';
}
}