AdminApiKey class final

Constructors

AdminApiKey({required String id, required String displayName, required List<AdminScope> scopes, required AdminProjectAccess projectAccess, required ApiKeyStatus status, required String createdAt, required String createdBy, required String secretPreview})
const
AdminApiKey.fromJson(Map<String, Object?> json)
factory

Properties

createdAt → String
RFC 3339 UTC timestamp with six fractional digits, e.g. 2026-08-17T09:30:00.000000Z
final
createdBy → String
Actor ID of the human organization owner who created the key.
final
displayName → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Admin key resource ID, admin_api_key_{ulid}.
final
projectAccess → AdminProjectAccess
Projects an admin credential may address.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scopes → List<AdminScope>
final
secretPreview → String
Non-secret display form, sk_admin_… plus the final four characters.
final
status → ApiKeyStatus
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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