mapActions method

void mapActions({
  1. required void item0(
    1. T0
    ),
  2. required void item1(
    1. T1
    ),
  3. required void item2(
    1. T2
    ),
  4. required void item3(
    1. T3
    ),
})

A utility method for mapping a function to every item in this tuple.

Implementation

void mapActions({
  required void Function(T0) item0,
  required void Function(T1) item1,
  required void Function(T2) item2,
  required void Function(T3) item3,
}) {
  item0(this.item0);
  item1(this.item1);
  item2(this.item2);
  item3(this.item3);
}