load static method
Implementation
static Future<SlideAsset> load(File file) async {
final asset = await maybeLoad(file);
return asset ?? (throw Exception('Invalid asset file: ${file.path}'));
}
static Future<SlideAsset> load(File file) async {
final asset = await maybeLoad(file);
return asset ?? (throw Exception('Invalid asset file: ${file.path}'));
}