onChannelDelete method

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

callback will be called when the CHANNEL_DELETE event has been recieved

Implementation

void onChannelDelete(Function(Channel channel) callback) =>
    _onChannelDelete = callback;