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 = create();
  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;
}