BlockSwitchingDialog constructor

const BlockSwitchingDialog({
  1. Key? key,
  2. required ApiService apiService,
  3. required String hospitalId,
  4. dynamic onBlockSelected(
    1. int blockId,
    2. String blockName
    )?,
})

Creates a BlockSwitchingDialog.

Implementation

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