menu
jetleaf_lang package
documentation
lang.dart
BoolExtensions
toInt method
toInt method
dark_mode
light_mode
toInt
method
int
toInt
(
)
Converts the boolean to an integer (1 for true, 0 for false).
Implementation
int toInt() => this ? 1 : 0;
jetleaf_lang package
documentation
lang
BoolExtensions
toInt method
BoolExtensions extension on
bool