Key constructor
Key({
- String? id,
- ObjectDetails? details,
- KeyType? type,
- Timestamp? expirationDate,
Implementation
factory Key({
$core.String? id,
$8.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;
}