addAction function

void addAction(
  1. String key,
  2. dynamic value
)

Implementation

void addAction(String key, dynamic value) {
  _hooks[key] = value;
}