register method

void register(
  1. Action action
)

Implementation

void register(Action action) {
  final key = _getKey(action.actionType, action.name);
  _actions[key] = action;
}