isSquare property

bool get isSquare

Returns true if this equals a whole integer squared.

Implementation

bool get isSquare => isPowerOf(2);