getActiveMediaByFocusIndex method
- String focusIndex
Implementation
Media? getActiveMediaByFocusIndex(String focusIndex) {
for (var m in getActiveMedia()) {
if (getFocusIndexForMedia(m) == focusIndex || m.id == focusIndex) {
return m;
}
}
return null;
}