AudioSource.asset constructor
const
AudioSource.asset(
- String name
A bundled asset addressed by its bundle key name
(for example audio/song.mp3).
Implementation
const factory AudioSource.asset(String name) = AssetAudioSource;