toInt method

int toInt()

Converts a boolean to an integer (0 or 1).

Implementation

int toInt() => ByteUtils.boolToInt(this);