register static method

void register(
  1. OdinAction action
)

Implementation

static void register(OdinAction action) async {
  _actions[action.runtimeType.toString()] = action;
}