(callback: (result: QueryDocumentSnapshot, index: number) => void, thisArg?: any)
| 677 | } |
| 678 | |
| 679 | forEach(callback: (result: QueryDocumentSnapshot, index: number) => void, thisArg?: any): void { |
| 680 | if (typeof callback === 'function') { |
| 681 | const cb = thisArg ? callback.bind(thisArg) : callback; |
| 682 | const count = this.native.count; |
| 683 | for (let i = 0; i < count; i++) { |
| 684 | cb(QueryDocumentSnapshot.fromNative(this.native.documents.objectAtIndex(i))); |
| 685 | } |
| 686 | } |
| 687 | } |
| 688 | |
| 689 | toJSON() { |
| 690 | return { |
nothing calls this directly
no test coverage detected