menu
artools package
documentation
artools.dart
BoolExtension
toInt method
toInt method
dark_mode
light_mode
toInt
method
int
toInt
(
)
Converts the boolean to 1 if true, otherwise 0.
Implementation
int toInt() => this ? 1 : 0;
artools package
documentation
artools
BoolExtension
toInt method
BoolExtension extension on
bool