forEach method

bool forEach(
  1. JSFunction action
)

Enumerates the top-level children in the DataSnapshot.

action: A function that will be called for each child DataSnapshot. The callback can return true to cancel further enumeration.

Implementation

external bool forEach(
  //  (a: IteratedDataSnapshot) => boolean | void
  JSFunction action,
);