toJson method

Map<String, dynamic> toJson()

Return the serializable of this object into Map.

Implementation

Map<String, dynamic> toJson() => _$P2PPeerToJson(this);