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

Method fromNative

packages/firebase-firestore/index.ios.ts:628–635  ·  view source on GitHub ↗
(snapshot: FIRQuerySnapshot)

Source from the content-addressed store, hash-verified

626 _native: FIRQuerySnapshot;
627
628 static fromNative(snapshot: FIRQuerySnapshot) {
629 if (snapshot instanceof FIRQuerySnapshot) {
630 const ss = new QuerySnapshot();
631 ss._native = snapshot;
632 return ss;
633 }
634 return null;
635 }
636
637 get docs() {
638 const documents = this.native.documents;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected