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

Method fromNative

packages/firebase-firestore/index.ios.ts:243–250  ·  view source on GitHub ↗
(metadata: FIRSnapshotMetadata)

Source from the content-addressed store, hash-verified

241 _native: FIRSnapshotMetadata;
242
243 static fromNative(metadata: FIRSnapshotMetadata) {
244 if (metadata instanceof FIRSnapshotMetadata) {
245 const meta = new SnapshotMetadata();
246 meta._native = metadata;
247 return meta;
248 }
249 return null;
250 }
251
252 get fromCache(): boolean {
253 return this.native.fromCache;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected