EMCustomMessageBody constructor Null safety

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

Creates a custom message.

Implementation

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