ofBool static method Null safety
- bool? value
Returns an instance for a bool value.
For each input value, ofBool will always return the same instance.
Implementation
static LDValue ofBool(bool? value) => value == null ? _NULL : (value ? _TRUE : _FALSE);