PersonalAccessToken constructor
PersonalAccessToken({
- String? id,
- ObjectDetails? details,
- Timestamp? expirationDate,
- Iterable<
String> ? scopes,
Implementation
factory PersonalAccessToken({
$core.String? id,
$8.ObjectDetails? details,
$6.Timestamp? expirationDate,
$core.Iterable<$core.String>? scopes,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (details != null) {
$result.details = details;
}
if (expirationDate != null) {
$result.expirationDate = expirationDate;
}
if (scopes != null) {
$result.scopes.addAll(scopes);
}
return $result;
}