NiceTokenInfo class

Token/API key definition.

Constructors

NiceTokenInfo({required String id, required String name, String? prefix, DateTime? createdAt, DateTime? expiresAt, DateTime? lastUsed, List<String> scopes = const []})
const

Properties

createdAt DateTime?
final
expiresAt DateTime?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
isExpired bool
no setter
lastUsed DateTime?
final
name String
final
prefix String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopes List<String>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited