getApplicationName function

String getApplicationName()

Return the name of the application

Implementation

String getApplicationName() {
  return Directory.current.path.split("/").last;
}