toEventData method

Map<String, dynamic> toEventData()

Implementation

Map<String, dynamic> toEventData() {
  return {
    'customText': customText,
    'from': from,
    'senderJid': senderJid,
    'time': time,
    'id': id,
    'type': type,
    'body': body,
    'msgtype': msgtype,
    'bubbleType': bubbleType,
    'mediaURL': mediaURL,
    'isReadSent': isReadSent,
    'delayTime': delayTime,
    'chatStateType': chatStateType,
  };
}