getFileName method

String getFileName(
  1. String path
)

Implementation

String getFileName(String path) {
  return p.basename(path);
}