ForwardSource.fromJson constructor
Parses a ForwardSource from TDLib JSON.
Implementation
factory ForwardSource.fromJson(Map<String, dynamic> json) => ForwardSource(
chatId: _readInt(json['chat_id']),
messageId: _readInt(json['message_id']),
senderId: _readOptional(json['sender_id'], MessageSender.fromJson),
senderName: _readString(json['sender_name']),
date: _readInt(json['date']),
isOutgoing: _readBool(json['is_outgoing']),
);