getAssetTypeOfFile method

SlideAssetType? getAssetTypeOfFile(
  1. File file
)

Implementation

SlideAssetType? getAssetTypeOfFile(File file) {
  // check if filename starts with prefix

  return SlideAssetType.tryParse(p.basenameWithoutExtension(file.path));
}