fromHandler<T> method

dynamic fromHandler <T>(Type type, Map<String, dynamic> json)

Creates a new event from a handler type with the NextInvocation.response.

Implementation

static fromHandler<T>(Type type, Map<String, dynamic> json) {
  return _registry[type](json);
}