getChannelByName
Retrieve a channel by its name from local data.
This method returns the Channel with the given channelName
if it exists in the local data. If no channel with that name is found, it returns null
.
Return
The Channel object with the provided channelName
, or null
if not found.
Parameters
channelName
The name of the channel to retrieve.