WardSwitchingDialog constructor

const WardSwitchingDialog({
  1. Key? key,
  2. required ApiService apiService,
  3. required String hospitalId,
  4. dynamic onWardSelected(
    1. int wardId,
    2. String wardName
    )?,
})

Creates a WardSwitchingDialog.

Implementation

const WardSwitchingDialog({
   super.key,
   required this.apiService,
   required this.hospitalId,
// The named parameter 'sortBy' isn't defined.
   this.onWardSelected,
 });