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

Method fromNative

packages/firebase-firestore/index.ios.ts:338–345  ·  view source on GitHub ↗
(change: FIRDocumentChange)

Source from the content-addressed store, hash-verified

336 _native: FIRDocumentChange;
337
338 static fromNative(change: FIRDocumentChange): DocumentChange {
339 if (change instanceof FIRDocumentChange) {
340 const documentChange = new DocumentChange();
341 documentChange._native = change;
342 return documentChange;
343 }
344 return null;
345 }
346
347 get doc() {
348 return QueryDocumentSnapshot.fromNative(this.native.document);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected