P2PPeer.fromJson constructor

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

Constructor for deserialize json Map into P2PPeer object.

Implementation

factory P2PPeer.fromJson(Map<String, dynamic> json) =>
    _$P2PPeerFromJson(json);