tryFromValue static method
Looks up a sound by its raw SystemSoundID.value, or null when unknown.
Implementation
static SystemSoundID? tryFromValue(int value) {
for (final sound in values) {
if (sound.value == value) {
return sound;
}
}
return null;
}