counter property Null safety

int counter

The counter

Implementation

int get counter => _counter;