onMessage property

void Function(SessionsMessage message) onMessage
final

Called when an SDK message is received from the session.

Implementation

final void Function(SessionsMessage message) onMessage;