SecretGenerator constructor
SecretGenerator({
- SecretGeneratorType? generatorType,
- ObjectDetails? details,
- int? length,
- Duration? expiry,
- bool? includeLowerLetters,
- bool? includeUpperLetters,
- bool? includeDigits,
- bool? includeSymbols,
Implementation
factory SecretGenerator({
SecretGeneratorType? generatorType,
$7.ObjectDetails? details,
$core.int? length,
$10.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;
}