Key constructor
Key({
- String? id,
- ObjectDetails? details,
- KeyType? type,
- Timestamp? expirationDate,
Implementation
factory Key({
$core.String? id,
$7.ObjectDetails? details,
KeyType? type,
$6.Timestamp? expirationDate,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (details != null) {
_result.details = details;
}
if (type != null) {
_result.type = type;
}
if (expirationDate != null) {
_result.expirationDate = expirationDate;
}
return _result;
}