nextId method
Implementation
@override
Future<int?> nextId() async {
if (!initialized) throw ArgumentError(AbstractDao.C_MUST_INIT);
try {
return await tableTransactionDao.getNextId(localWardenType!);
} on SqlException catch (e) {
if (e.sqlExceptionEnum == SqlExceptionEnum.FAILED_SELECT) return 1;
}
return null;
}