createAlertMessage static method

Message createAlertMessage(
  1. String targetId,
  2. ChatType chatType, {
  3. Map<String, String>? params,
})

Implementation

static Message createAlertMessage(String targetId, ChatType chatType,
    {Map<String, String>? params}) {
  return Message.createCustomSendMessage(
      targetId: targetId,
      event: alertCustomMessageKey,
      chatType: chatType,
      params: params);
}