isInVaccinationDirectory property

bool get isInVaccinationDirectory

Checks if the current path is in the vaccination directory.

Implementation

bool get isInVaccinationDirectory {
  return currentPath != null &&
      (currentPath!.endsWith('/vaccination') ||
          currentPath!.contains('/vaccination/') ||
          currentPath == '$basePath/vaccination');
}