Peer.fromMap constructor

Peer.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory Peer.fromMap(Map<String, dynamic> map) =>
    Peer(map["peer_id"], map["metadata"]);