(batch: com.google.firebase.firestore.WriteBatch)
| 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) => { |
nothing calls this directly
no outgoing calls
no test coverage detected