fromHandler<T> static 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 dynamic fromHandler<T>(Type type, Map<String, dynamic> json) =>
    _registry[type]!(json);