mapActions method

void mapActions({
  1. required void item(
    1. T
    ),
})

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

Implementation

void mapActions({
  required void Function(T) item,
}) {
  item(this.item);
}