SearchView constructor

const SearchView({
  1. Key? key,
  2. Doctor? doctor,
  3. Organization? organization,
})

doctor is the doctor model containing the details to be displayed. organization is the organization model.

Implementation

const SearchView({super.key, this.doctor, this.organization});