getFor method Null safety

LDValue getFor(
  1. String key
)

Retrieves an object element by index.

Returns ofNull if the value is not an object or if the key is not found.

Implementation

LDValue getFor(String key) => ofNull();