HMSPeer.fromMap constructor

HMSPeer.fromMap(
  1. Map map
)

Implementation

factory HMSPeer.fromMap(Map map) {
  return (map['is_local'] == true)
      ? HMSLocalPeer.fromMap(map)
      : HMSRemotePeer.fromMap(map);
}