serve<E> function

E serve<E>(
  1. String key,
  2. [dynamic defaultvalue]
)

Implementation

E serve<E>(String key, [defaultvalue]) =>
    (store[currentStore][key] ?? defaultvalue) as E;