levelCount property

int get levelCount

How many levels it has.

Implementation

int get levelCount => levels.length;