ChatwootL10n constructor

const ChatwootL10n({
  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",
})

Creates a new chatwoot l10n

Implementation

const ChatwootL10n(
    {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"})
    : super(
          attachmentButtonAccessibilityLabel:
              attachmentButtonAccessibilityLabel,
          emptyChatPlaceholder: emptyChatPlaceholder,
          unreadMessagesLabel: offlineText,
          fileButtonAccessibilityLabel: fileButtonAccessibilityLabel,
          inputPlaceholder: inputPlaceholder,
          sendButtonAccessibilityLabel: sendButtonAccessibilityLabel);