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

Method fromNative

packages/firebase-firestore/index.android.ts:219–226  ·  view source on GitHub ↗
(transaction: com.google.firebase.firestore.Transaction)

Source from the content-addressed store, hash-verified

217 _native: com.google.firebase.firestore.Transaction;
218
219 static fromNative(transaction: com.google.firebase.firestore.Transaction) {
220 if (transaction instanceof com.google.firebase.firestore.Transaction) {
221 const tran = new Transaction();
222 tran._native = transaction;
223 return tran;
224 }
225 return null;
226 }
227
228 delete<T extends DocumentData = DocumentData>(documentRef: DocumentReference): Transaction {
229 return Transaction.fromNative(this._native.delete(documentRef.native));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected