EMCustomMessageBody constructor

EMCustomMessageBody(
  1. {required String event,
  2. Map<String, String>? params}
)

自定义消息体类。

Implementation

EMCustomMessageBody({
  required this.event,
  this.params,
}) : super(type: MessageType.CUSTOM);