orphanWarningMessage static method
Pure — text only, no lookup — so the wording is unit-testable without a Dio. Names the exact revoke command so the warning is actionable.
Implementation
static String orphanWarningMessage({
required String keyName,
required String prefix,
}) =>
'A key named "$keyName" is still active on this account from an '
'earlier login.\n'
' Revoke it with `appflight keys revoke $prefix` if you no longer '
'need it.';