Constructor for deserialize json Map into P2PPeer object.
factory P2PPeer.fromJson(Map<String, dynamic> json) => _$P2PPeerFromJson(json);