SessionConfig constructor
SessionConfig({})
Implementation
factory SessionConfig({
$core.String? runId,
$core.String? token,
$core.String? name,
$core.String? description,
$core.bool? statusToClient,
$core.bool? statusP2PAsClient,
$core.bool? statusP2PAsServer,
}) {
final $result = create();
if (runId != null) {
$result.runId = runId;
}
if (token != null) {
$result.token = token;
}
if (name != null) {
$result.name = name;
}
if (description != null) {
$result.description = description;
}
if (statusToClient != null) {
$result.statusToClient = statusToClient;
}
if (statusP2PAsClient != null) {
$result.statusP2PAsClient = statusP2PAsClient;
}
if (statusP2PAsServer != null) {
$result.statusP2PAsServer = statusP2PAsServer;
}
return $result;
}