UpdatePeerMetadata constructor

UpdatePeerMetadata({
  1. String? peerId,
  2. String? metadata,
})

Implementation

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