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

Method fromNative

packages/firebase-database/index.ios.ts:536–543  ·  view source on GitHub ↗
(snapshot: FIRDataSnapshot)

Source from the content-addressed store, hash-verified

534 _native: FIRDataSnapshot;
535
536 static fromNative(snapshot: FIRDataSnapshot) {
537 if (snapshot instanceof FIRDataSnapshot) {
538 const ss = new DataSnapshot();
539 ss._native = snapshot;
540 return ss;
541 }
542 return null;
543 }
544
545 get native() {
546 return this._native;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected