AssetAudioSource constructor
AssetAudioSource({})
Creates an audio source from an asset
Implementation
AssetAudioSource({
required this.assetPath,
String? title,
super.artist,
super.album,
super.artUri,
super.genre,
super.trackNumber,
super.trackCount,
super.year,
}) : super(
uri: Uri.parse('asset:///$assetPath'),
title: title ?? path.basenameWithoutExtension(assetPath),
);