menu
flutter_util_code package
documentation
null_safety_utils.dart
IntNullSafety
toNonNull property
toNonNull property
dark_mode
light_mode
toNonNull
property
int
get
toNonNull
转化为非空整型,如果为空则返回0
Implementation
int get toNonNull => this ?? 0;
flutter_util_code package
documentation
null_safety_utils
IntNullSafety
toNonNull property
IntNullSafety extension on
int
?