dispatch<T extends FastModuleProtocol> static method

dynamic dispatch<T extends FastModuleProtocol>({
  1. String? moduleName,
  2. required String eventName,
  3. dynamic arguments,
})

Implementation

static dynamic dispatch<T extends FastModuleProtocol>(
        {String? moduleName, required String eventName, dynamic arguments}) =>
    FastModuleManager.instance()
        .dispatch<T>(moduleName: moduleName, eventName: eventName, arguments: arguments);