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,
    'presenceType': presenceType,
    'presenceMode': presenceMode,
    'isReadSent': isReadSent,
    'chatStateType': chatStateType,

  };
}