SecretGenerator constructor
SecretGenerator({
- SecretGeneratorType? generatorType,
- ObjectDetails? details,
- int? length,
- Duration? expiry,
- bool? includeLowerLetters,
- bool? includeUpperLetters,
- bool? includeDigits,
- bool? includeSymbols,
Implementation
factory SecretGenerator({
SecretGeneratorType? generatorType,
$0.ObjectDetails? details,
$core.int? length,
$1.Duration? expiry,
$core.bool? includeLowerLetters,
$core.bool? includeUpperLetters,
$core.bool? includeDigits,
$core.bool? includeSymbols,
}) {
final result = create();
if (generatorType != null) result.generatorType = generatorType;
if (details != null) result.details = details;
if (length != null) result.length = length;
if (expiry != null) result.expiry = expiry;
if (includeLowerLetters != null)
result.includeLowerLetters = includeLowerLetters;
if (includeUpperLetters != null)
result.includeUpperLetters = includeUpperLetters;
if (includeDigits != null) result.includeDigits = includeDigits;
if (includeSymbols != null) result.includeSymbols = includeSymbols;
return result;
}