AuthRequest constructor

AuthRequest({
  1. String? id,
  2. Timestamp? creationDate,
  3. String? clientId,
  4. Iterable<String>? scope,
  5. String? redirectUri,
  6. Iterable<Prompt>? prompt,
  7. Iterable<String>? uiLocales,
  8. String? loginHint,
  9. Duration? maxAge,
  10. String? hintUserId,
})

Implementation

factory AuthRequest({
  $core.String? id,
  $1.Timestamp? creationDate,
  $core.String? clientId,
  $core.Iterable<$core.String>? scope,
  $core.String? redirectUri,
  $core.Iterable<Prompt>? prompt,
  $core.Iterable<$core.String>? uiLocales,
  $core.String? loginHint,
  $2.Duration? maxAge,
  $core.String? hintUserId,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (creationDate != null) {
    $result.creationDate = creationDate;
  }
  if (clientId != null) {
    $result.clientId = clientId;
  }
  if (scope != null) {
    $result.scope.addAll(scope);
  }
  if (redirectUri != null) {
    $result.redirectUri = redirectUri;
  }
  if (prompt != null) {
    $result.prompt.addAll(prompt);
  }
  if (uiLocales != null) {
    $result.uiLocales.addAll(uiLocales);
  }
  if (loginHint != null) {
    $result.loginHint = loginHint;
  }
  if (maxAge != null) {
    $result.maxAge = maxAge;
  }
  if (hintUserId != null) {
    $result.hintUserId = hintUserId;
  }
  return $result;
}