PersonalAccessToken constructor

PersonalAccessToken({
  1. required String id,
  2. String? name,
  3. String? description,
  4. List<String> scopes = const [],
  5. String? workspaceId,
  6. DateTime? createdAt,
  7. DateTime? lastUsedAt,
  8. DateTime? expiresAt,
  9. String? tokenPrefix,
})

Returns a new PersonalAccessToken instance.

Implementation

PersonalAccessToken({
  required this.id,
  this.name,
  this.description,
  this.scopes = const [],
  this.workspaceId,
  this.createdAt,
  this.lastUsedAt,
  this.expiresAt,
  this.tokenPrefix,
});