NewPeerJoined constructor

NewPeerJoined({
  1. String? peerId,
  2. String? metadata,
  3. String? role,
})

Implementation

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