authTestApiKeyMetadata function

AuthApiKey authTestApiKeyMetadata(
  1. AuthApiKeyRecord record, {
  2. DateTime? now,
})

Creates public API-key metadata from a persisted test record.

Implementation

AuthApiKey authTestApiKeyMetadata(AuthApiKeyRecord record, {DateTime? now}) =>
    record.toPublic(now: now);