getNumRecensioni method
Restituisce il numero di libri che hanno un voto assegnato.
@return Numero di libri recensiti.
Implementation
int getNumRecensioni() {
return libreria.getLibri().where((l) => l.voto != null).length;
}
Restituisce il numero di libri che hanno un voto assegnato.
@return Numero di libri recensiti.
int getNumRecensioni() {
return libreria.getLibri().where((l) => l.voto != null).length;
}