normalize static method Null safety

LDValue normalize(
  1. LDValue? value
)

Returns the same value if non-null, or ofNull if null.

Implementation

static LDValue normalize(LDValue? value) => value ?? ofNull();