toInt method

int? toInt()

Implementation

int? toInt() => this ? 1 : 0;