ofBool static method

LDValue ofBool(
  1. 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 ? _true : _false;