looksLikeRecoveryKey static method
Whether input looks like an Olm/SSSS recovery key (not a passphrase).
Implementation
static bool looksLikeRecoveryKey(String input) {
final cleaned = input.replaceAll(RegExp(r'\s+'), '');
return cleaned.length == 48 && cleaned.startsWith('Es');
}