AiinApiKey class final

A registered AIIN API key. The raw secret (raw) is shown exactly once — store it before leaving the flow.

Constructors

AiinApiKey({required String raw, required String id, required String prefix, required String createdAt})
Creates the key record.
const

Properties

createdAt → String
ISO-8601 creation timestamp as returned by the service.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Server-side key id (for later deletion in the AIIN cabinet).
final
prefix → String
Non-secret prefix the AIIN cabinet displays.
final
raw → String
The full sk-aiin-… secret (chat credential).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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