NmApiKey class
A personal API key (the secret itself is never kept).
- Annotations
Constructors
Properties
- createdAt → DateTime
-
When the key was created.
final
- expiresAt → DateTime?
-
When the key stops working; null if it does not expire.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Key id.
final
- lastUsedAt → DateTime?
-
When the key was last used; null if never.
final
- name → String
-
Name the user gave it.
final
- prefix → String
-
Visible prefix of the secret.
final
- revoked → bool
-
Revoked keys stay listed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → String
-
fullorread_only.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