menu
cutils package
documentation
ext/bool_ext.dart
BoolExt
toInt property
toInt property
dark_mode
light_mode
toInt
property
int
get
toInt
转为整数:
true
→
1
,
false
→
0
。
Implementation
int get toInt => this ? 1 : 0;
cutils package
documentation
ext/bool_ext
BoolExt
toInt property
BoolExt extension on
bool