MCPcopy Create free account
hub / github.com/NativeScript/firebase / getAll

Method getAll

packages/firebase-remote-config/index.android.ts:253–263  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

251 });
252 }
253 getAll() {
254 const nativeAll = this.native.getAll();
255 const keys = nativeAll.keySet().toArray();
256 const all = {};
257 const count = keys.length;
258 for (let i = 0; i < count; i++) {
259 const key = keys[i];
260 all[key] = ConfigValue.fromNative(this.native.getValue(key));
261 }
262 return all;
263 }
264 getBoolean(key: string): boolean {
265 return this.getValue(key)?.asBoolean?.();
266 }

Callers

nothing calls this directly

Calls 3

getAllMethod · 0.65
getValueMethod · 0.65
fromNativeMethod · 0.45

Tested by

no test coverage detected