Returns 1 if the value is true otherwise 0 is returned.
1
true
0
int get toInt => toNullableInt ?? 0;