publishEvent method

Future<NIMResult<void>> publishEvent(
  1. Event event
)

向订阅者发布事件

Implementation

Future<NIMResult<void>> publishEvent(Event event) async {
  return _platform.publishEvent(event);
}