AuthPublicRequest constructor

AuthPublicRequest({
  1. String? challenge,
  2. String? email,
  3. String? password,
  4. Gender? gender,
  5. bool? consent,
  6. String? jwtIdToken,
  7. SsnProvider? ssnProvider,
})

Implementation

factory AuthPublicRequest({
  $core.String? challenge,
  $core.String? email,
  $core.String? password,
  Gender? gender,
  $core.bool? consent,
  $core.String? jwtIdToken,
  SsnProvider? ssnProvider,
}) {
  final _result = create();
  if (challenge != null) {
    _result.challenge = challenge;
  }
  if (email != null) {
    _result.email = email;
  }
  if (password != null) {
    _result.password = password;
  }
  if (gender != null) {
    _result.gender = gender;
  }
  if (consent != null) {
    _result.consent = consent;
  }
  if (jwtIdToken != null) {
    _result.jwtIdToken = jwtIdToken;
  }
  if (ssnProvider != null) {
    _result.ssnProvider = ssnProvider;
  }
  return _result;
}