getChannel method
Implementation
PsdChannel? getChannel(int id) {
for (var i = 0; i < channels.length; ++i) {
if (channels[i].id == id) {
return channels[i];
}
}
return null;
}
PsdChannel? getChannel(int id) {
for (var i = 0; i < channels.length; ++i) {
if (channels[i].id == id) {
return channels[i];
}
}
return null;
}