get

open fun get(key: String): FeatureFlag

Reads a flag from the local cache without touching the network.

Return

the cached flag, or null when the SDK is not initialized, there is no cache younger than 24 hours for the current user, device data was removed, or there is no such flag

Parameters

key

the flag key as configured in Pushwoosh