onMessageReceived property
Occurs when the local user receives a peer-to-peer message.
Implementation
void Function(RtmMessage message, String peerId)? onMessageReceived;
Occurs when the local user receives a peer-to-peer message.
void Function(RtmMessage message, String peerId)? onMessageReceived;