getNextSequence method
Implementation
int getNextSequence() {
_sequence++;
try {
_prefs?.setInt(_sequenceKey, _sequence);
} catch (e) {
// Continuar sin persistir si falla
}
return _sequence;
}
int getNextSequence() {
_sequence++;
try {
_prefs?.setInt(_sequenceKey, _sequence);
} catch (e) {
// Continuar sin persistir si falla
}
return _sequence;
}