getValue

Returns ConfigValue.

The order of searching for flags:

  1. Config received from the server with the fetchConfig method.

  2. User defaults from the setDefaults methods.

  3. Method defaults (getDouble, getLong, getString, getBoolean).

  4. Type defaults (0.0 for Double, 0L for Long, "" for String, false for Boolean).

Return

ConfigValue by key if present or null otherwise.

Parameters

key

Config key.