onApofinderDidChangePharmacy property

void Function({required bool isFromPrerequisites, required String pharmacyId})? onApofinderDidChangePharmacy
getter/setter pair

Called when the user changes their pharmacy via the Apofinder flow.

Provides the new pharmacyId and whether the change was triggered from the prerequisites flow.

Implementation

void Function({
  required String pharmacyId,
  required bool isFromPrerequisites,
})?
onApofinderDidChangePharmacy;