type property

String get type

Implementation

String get type {
  try {
    String fileName = path.split("/").last;
    return fileName.split("_").first;
  } catch (e) {
    log("$e");
    return e.toString();
  }
}