fromHandler<T> method

dynamic fromHandler <T>(
  1. Type type,
  2. 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);
}