throughContent method

Future<MP> throughContent(
  1. MP map
)
inherited

Implementation

Future<MP> throughContent(MP map) async {
  MP mp = {};
  for (var c in contents) {
    if (c case ThingF thing) {
      final telling = thing.tell(map);
      final r = await telling;
      if (r is MP) {
        mp.addAll(r);
      }
    }
  }
  return mp;
}