getRecoveryCodes method
Deserializes and retrieves the saved list of backup recovery codes.
Implementation
Future<List<String>> getRecoveryCodes() async {
final codesString = await readString('recoveryCodes');
if (codesString == null || codesString.isEmpty) {
return [];
}
return codesString.split(',');
}