UpdatePeerRole constructor

UpdatePeerRole({
  1. String? peerId,
  2. String? role,
})

Implementation

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