attacks property

int get attacks

Quantos ataques o trecho tem.

Implementation

int get attacks => notes.where((note) => note.attack).length;