Future getKey(String key) async { var data = await getConfig(); return data != null ? data[key] : null; }