CreateSessionResponse constructor

CreateSessionResponse({
  1. Details? details,
  2. String? sessionId,
  3. String? sessionToken,
  4. Challenges? challenges,
})

Implementation

factory CreateSessionResponse({
  $4.Details? details,
  $core.String? sessionId,
  $core.String? sessionToken,
  $6.Challenges? challenges,
}) {
  final $result = create();
  if (details != null) {
    $result.details = details;
  }
  if (sessionId != null) {
    $result.sessionId = sessionId;
  }
  if (sessionToken != null) {
    $result.sessionToken = sessionToken;
  }
  if (challenges != null) {
    $result.challenges = challenges;
  }
  return $result;
}