onScoreChanged property

void Function(int score)? onScoreChanged
getter/setter pair

Implementation

void Function(int score)? onScoreChanged;