parseAssetsAudioPlayerErrorType function
Implementation
AssetsAudioPlayerErrorType parseAssetsAudioPlayerErrorType(String type) {
switch (type) {
case 'network':
return AssetsAudioPlayerErrorType.Network;
default:
return AssetsAudioPlayerErrorType.Player;
}
}