SessionConfig constructor

SessionConfig({
  1. String? runId,
  2. String? token,
  3. String? name,
  4. String? description,
  5. bool? statusToClient,
  6. bool? statusP2PAsClient,
  7. bool? statusP2PAsServer,
})

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;
}