# SafePath class

Safe path handling.

## Constructors

SafePath(String _path)
  Create a safe path from `_path`. It will be created as a folder if it does not exist.

## Properties

hashCode → int
  The hash code for this object.
  read-only inherited
isFile ↔ bool
  read / write
parent → String
  Get the parent path. If it is a file, the parent folder will be returned.
  read-only
path → String
  Get the path.
  read-only
runtimeType → Type
  A representation of the runtime type of the object.
  read-only inherited

## Methods

cd(String name) → void
  Change directory to subfolder `name`. It will be created if it does not exist. If it is a file, the parent folder will be returned. Returns the new path.
cdUp() → void
  Change directory to parent folder. If it is a file, the parent folder will be returned. Returns the new path.
file(String name) → String
  Get a file path from `name` if it is a folder. If it is a file, the file path will be returned.
noSuchMethod(Invocation invocation) → dynamic
  Invoked when a nonexistent method or property is accessed.
  inherited
toString() → String
  A string representation of this object.
  inherited

## Operators

operator ==(Object other) → bool
  The equality operator.
  inherited