Peer.fromJson constructor
Implementation
factory Peer.fromJson(Map<String, dynamic> map) {
return Peer(
address: map['address'] ?? '',
emojiReactions: map['emojiReactions'] != null
? EmojiReaction.fromJson(map['emojiReactions'])
: null,
);
}