menu
playx_localization package
documentation
playx_localization.dart
BoolExtensions
toInt method
toInt method
dark_mode
light_mode
toInt
method
int
toInt
(
)
Convert bool to int return 1 if true, 0 if false
Implementation
int toInt() => this ? 1 : 0;
playx_localization package
documentation
playx_localization
BoolExtensions
toInt method
BoolExtensions extension on
bool