attempts property Null safety

int attempts
read / write

Counts the number of attempts made so far

Implementation

int attempts = 0;