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

Method fromNative

packages/firebase-database/index.ios.ts:352–359  ·  view source on GitHub ↗
(ref: any)

Source from the content-addressed store, hash-verified

350 _native: any;
351
352 static fromNative(ref: any) {
353 if (ref instanceof FIRDatabaseReference) {
354 const reference = new Reference();
355 reference._native = ref;
356 return reference;
357 }
358 return null;
359 }
360
361 get key(): string {
362 return this.native.key;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected