onMessageUpdate method

void onMessageUpdate(
  1. dynamic callback(
    1. Message message
    )
)

callback will be called when the MESSAGE_UPDATE event has been recieved

Implementation

void onMessageUpdate(Function(Message message) callback) =>
    _onMessageUpdate = callback;