get int value from bool
int getIntBool({bool value = false}) { if (this ?? value) { return 1; } else { return 0; } }