GetPeerDataResponse constructor

GetPeerDataResponse({
  1. String? peerId,
  2. String? roomId,
  3. GetPeerPermissionSchema? permission,
  4. String? metadata,
})

Implementation

factory GetPeerDataResponse({
  $core.String? peerId,
  $core.String? roomId,
  GetPeerPermissionSchema? permission,
  $core.String? metadata,
}) {
  final $result = create();
  if (peerId != null) {
    $result.peerId = peerId;
  }
  if (roomId != null) {
    $result.roomId = roomId;
  }
  if (permission != null) {
    $result.permission = permission;
  }
  if (metadata != null) {
    $result.metadata = metadata;
  }
  return $result;
}