MessageReplyInfo.fromJson constructor

MessageReplyInfo.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory MessageReplyInfo.fromJson(Map<String, dynamic> json) => MessageReplyInfo(
  replyCount: json['reply_count'],
  recentReplierIds: List<MessageSender>.from((json['recent_replier_ids'] ?? []).map((item) => MessageSender.fromJson(item)).toList()),
  lastReadInboxMessageId: json['last_read_inbox_message_id'],
  lastReadOutboxMessageId: json['last_read_outbox_message_id'],
  lastMessageId: json['last_message_id'],
);