Object nextID(String table) { return _tablesIdCount.update(table, (n) => n + 1, ifAbsent: () => _getTableHighestID(table) + 1); }