RuutChatL10n constructor

const RuutChatL10n({
  1. String attachmentButtonAccessibilityLabel = "",
  2. String emptyChatPlaceholder = "",
  3. String fileButtonAccessibilityLabel = "",
  4. String onlineText = "Typically replies in a few hours",
  5. String offlineText = "We're away at the moment",
  6. String typingText = "typing...",
  7. String inputPlaceholder = "Type your message",
  8. String sendButtonAccessibilityLabel = "Send Message",
  9. String conversationResolvedMessage = "Your ticket has been marked as resolved",
  10. String and = "",
  11. String others = "",
  12. String isTyping = "",
  13. String unreadMessagesLabel = "Unread Messages",
})

Creates a new ruut l10n

Implementation

const RuutChatL10n(
    {
      this.attachmentButtonAccessibilityLabel = "",
      this.emptyChatPlaceholder = "",
      this.fileButtonAccessibilityLabel = "",
      this.onlineText = "Typically replies in a few hours",
      this.offlineText = "We're away at the moment",
      this.typingText = "typing...",
      this.inputPlaceholder = "Type your message",
      this.sendButtonAccessibilityLabel = "Send Message",
      this.conversationResolvedMessage =
      "Your ticket has been marked as resolved",
      this.and = "",
      this.others = "",
      this.isTyping = "",
      String unreadMessagesLabel = "Unread Messages"
    })
    : super(
  attachmentButtonAccessibilityLabel:
  attachmentButtonAccessibilityLabel,
  emptyChatPlaceholder: emptyChatPlaceholder,
  fileButtonAccessibilityLabel: fileButtonAccessibilityLabel,
  inputPlaceholder: inputPlaceholder,
  sendButtonAccessibilityLabel: sendButtonAccessibilityLabel,
  unreadMessagesLabel: unreadMessagesLabel,
  and: and,
  isTyping:isTyping ,
  others: others,
);