()
| 1391 | } |
| 1392 | |
| 1393 | disableNetwork(): Promise<void> { |
| 1394 | return new Promise((resolve, reject) => { |
| 1395 | this.native.disableNetworkWithCompletion((error) => { |
| 1396 | if (error) { |
| 1397 | reject(FirebaseError.fromNative(error)); |
| 1398 | } else { |
| 1399 | resolve(); |
| 1400 | } |
| 1401 | }); |
| 1402 | }); |
| 1403 | } |
| 1404 | |
| 1405 | doc(documentPath: string): DocumentReference { |
| 1406 | return DocumentReference.fromNative(this.native.documentWithPath(documentPath)); |
nothing calls this directly
no test coverage detected