isInBpDirectory property

bool get isInBpDirectory

Checks if the current path is in the blood pressure directory.

Implementation

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