forEach method

void forEach(
  1. JSFunction callback, [
  2. JSAny thisArg
])

Enumerates all of the documents in the QuerySnapshot.

@param callback A callback to be called with a DocumentSnapshot for each document in the snapshot. @param thisArg The this binding for the callback.

Implementation

external void forEach(JSFunction callback, [JSAny thisArg]);