extensions/logics/bool_extensions library
Extensions for bool operations and utilities.
This library provides conversion and conditional helpers for bool values that read naturally in expression position.
Example usage:
final bool active = true;
print(active.toInt()); // 1
print(active.toYesNo()); // 'Yes'
active.ifTrue(() => print('enabled'));
Extensions
- BoolExtensions on bool
- Extensions for bool operations and utilities.
- NullableBoolExtensions on bool?
- Extensions for nullable bool values.