ProfileView constructor

const ProfileView({
  1. Key? key,
  2. required Doctor doctor,
  3. required Organization? organization,
  4. required Organization? organizationBabyBeat,
})

doctor is the doctor model containing the details to be displayed. organization is the organization model. organizationBabyBeat is the organization model for BabyBeat. orgCallbackBabyBeat is the callback function to set the BabyBeat organization. auth is the authentication service.

Implementation

const ProfileView({
  super.key,
  required this.doctor,
  required this.organization,
  required this.organizationBabyBeat,
});