forEach abstract method

void forEach(
  1. void action(
    1. String key,
    2. dynamic value
    )
)

Applies action to each key/value pair of the json.

Implementation

void forEach(void Function(String key, dynamic value) action);