GoogleAuthenticatorImport constructor

GoogleAuthenticatorImport({
  1. Iterable<GoogleAuthenticatorImport_OtpParameters>? otpParameters,
  2. int? version,
  3. int? batchSize,
  4. int? batchIndex,
  5. int? batchId,
})

Implementation

factory GoogleAuthenticatorImport({
  $core.Iterable<GoogleAuthenticatorImport_OtpParameters>? otpParameters,
  $core.int? version,
  $core.int? batchSize,
  $core.int? batchIndex,
  $core.int? batchId,
}) {
  final result = GoogleAuthenticatorImport._();
  if (otpParameters != null) result.otpParameters.addAll(otpParameters);
  if (version != null) result.version = version;
  if (batchSize != null) result.batchSize = batchSize;
  if (batchIndex != null) result.batchIndex = batchIndex;
  if (batchId != null) result.batchId = batchId;
  return result;
}