toJson method

Map<String, dynamic> toJson()

Converts this object to a JSON map.

Implementation

Map<String, dynamic> toJson() {
  return {
    'business_connection_id': businessConnectionId,
    'chat': chat.toJson(),
    'message_ids': messageIds,
  };
}