getProperty method
dynamic
getProperty(
- String propertyName, [
- int? offset
])
override
Implementation
@override
dynamic getProperty(String propertyName, [int? offset]) {
if (propertyName == 'audioSource') {
return audioSource;
} else if (propertyName == 'refDistance') {
return refDistance;
} else if (propertyName == 'maxDistance') {
return maxDistance;
} else if (propertyName == 'rolloffFactor') {
return rolloffFactor;
} else if (propertyName == 'coneInnerAngle') {
return coneInnerAngle;
} else if (propertyName == 'coneOuterAngle') {
return coneOuterAngle;
} else if (propertyName == 'coneOuterGain') {
return coneOuterGain;
} else if (propertyName == 'listner') {
return listner;
} else if (propertyName == 'autoplay') {
return autoplay;
} else if (propertyName == 'loop') {
return loop;
} else if (propertyName == 'hasPlaybackControl') {
return hasPlaybackControl;
} else if (propertyName == 'loopEnd') {
return loopEnd;
} else if (propertyName == 'loopStart') {
return loopStart;
} else if (propertyName == 'playbackRate') {
return playbackRate;
} else if (propertyName == 'path') {
return path;
}
return super.getProperty(propertyName, offset);
}