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

Method fromNative

packages/firebase-firestore/index.android.ts:1279–1286  ·  view source on GitHub ↗
(batch: com.google.firebase.firestore.WriteBatch)

Source from the content-addressed store, hash-verified

1277 _native: com.google.firebase.firestore.WriteBatch;
1278
1279 static fromNative(batch: com.google.firebase.firestore.WriteBatch) {
1280 if (batch instanceof com.google.firebase.firestore.WriteBatch) {
1281 const b = new WriteBatch();
1282 b._native = batch;
1283 return b;
1284 }
1285 return null;
1286 }
1287
1288 commit(): Promise<void> {
1289 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected