toEventData method

Map<String, dynamic> toEventData()

Implementation

Map<String, dynamic> toEventData() {
  return {
    'from': from,
    'senderJid': senderJid,
    'id': id,
    'type': type,
    'msgtype': msgtype,
    'chatStateType': chatStateType?.name ?? '',
  };
}