onChannelUpdate method

void onChannelUpdate(
  1. dynamic callback(
    1. Channel channel
    )
)

callback will be called when the CHANNEL_UPDATE event has been recieved

Implementation

void onChannelUpdate(Function(Channel channel) callback) =>
    _onChannelUpdate = callback;