ConnectPublicRequest constructor

ConnectPublicRequest({
  1. String? challenge,
  2. String? email,
  3. String? password,
  4. bool? consent,
  5. String? identityToken,
  6. VerificationProvider? verificationProvider,
  7. String? authToken,
})

Implementation

factory ConnectPublicRequest({
  $core.String? challenge,
  $core.String? email,
  $core.String? password,
  $core.bool? consent,
  $core.String? identityToken,
  VerificationProvider? verificationProvider,
  $core.String? authToken,
}) {
  final _result = create();
  if (challenge != null) {
    _result.challenge = challenge;
  }
  if (email != null) {
    _result.email = email;
  }
  if (password != null) {
    _result.password = password;
  }
  if (consent != null) {
    _result.consent = consent;
  }
  if (identityToken != null) {
    _result.identityToken = identityToken;
  }
  if (verificationProvider != null) {
    _result.verificationProvider = verificationProvider;
  }
  if (authToken != null) {
    _result.authToken = authToken;
  }
  return _result;
}