onMessageDelivered property

void Function(SquadweMessage, String)? onMessageDelivered
getter/setter pair

Triggered when a message created event/message SquadweEventMessageType.message_created is received and message belongs to current user after connecting to the squadwe websocket. See SquadweRepository.listenForEvents

Implementation

void Function(SquadweMessage, String)? onMessageDelivered;