Serializes and saves the list of backup codes.
codes
Future<void> saveRecoveryCodes(List<String> codes) async { final codesString = codes.join(','); await writeString('recoveryCodes', codesString); }