encodeApiKey function

String encodeApiKey(
  1. ApiKey key
)

Implementation

String encodeApiKey(ApiKey key) {
  final id = base64CompressUuid(key.id);
  final project = base64CompressUuid(key.projectId);

  return 'ma-$id-$project-${key.secret}';
}