toJson method

  1. @override
Map<String, dynamic> toJson()
override

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'messageReplyInfo',
    if (extra != null) '@extra': extra,
    'reply_count': reply_count,
    'recent_replier_ids': recent_replier_ids,
    'last_read_inbox_message_id': last_read_inbox_message_id,
    'last_read_outbox_message_id': last_read_outbox_message_id,
    'last_message_id': last_message_id
  };
}