AudioSource.asset constructor

AudioSource.asset(
  1. String asset
)

Constructs an AudioSource from the provided asset.

Implementation

factory AudioSource.asset(String asset) = AssetAudioSource;