directory property

String get directory

The skill's directory (parent of filePath).

Implementation

String get directory => filePath.substring(0, filePath.lastIndexOf('/'));