resolvedSoundPath property

String? get resolvedSoundPath

The asset path that will actually be played.

Returns soundAssetPath if set, otherwise builtinSound's path, otherwise null (silent).

Implementation

String? get resolvedSoundPath => soundAssetPath ?? builtinSound?.assetPath;