Hello constructor

Hello({
  1. String? peerId,
  2. String? roomId,
  3. String? sessionId,
  4. Permissions? acl,
  5. String? role,
  6. String? metadata,
})

Implementation

factory Hello({
  $core.String? peerId,
  $core.String? roomId,
  $core.String? sessionId,
  $6.Permissions? acl,
  $core.String? role,
  $core.String? metadata,
}) {
  final $result = create();
  if (peerId != null) {
    $result.peerId = peerId;
  }
  if (roomId != null) {
    $result.roomId = roomId;
  }
  if (sessionId != null) {
    $result.sessionId = sessionId;
  }
  if (acl != null) {
    $result.acl = acl;
  }
  if (role != null) {
    $result.role = role;
  }
  if (metadata != null) {
    $result.metadata = metadata;
  }
  return $result;
}