random property

int random

Returns random integer less than number

Implementation

int get random => Random().nextInt(toInt());