getData
Loads and returns data for a given key. Throws an exception on error. It never returns stale data. It makes a network request if data is stale.
Note: it will not lead to a new network request if another one with the same key is in progress.
Parameters
forceRefresh
forces to make a network request even when data is fresh.