SimpleLocalizedString

LocalizedString that always return the same value in toString

Constructors

Link copied to clipboard
constructor(value: Any)

Functions

Link copied to clipboard
open operator fun invoke(): String
open operator fun invoke(locale: Locale?): String

Shortcut for toString

Link copied to clipboard
open override fun toString(): String

return value based on the currently set Locale in i18n4k (I18n4kConfig.locale)

open override fun toString(locale: Locale?): String

return value based on the given Locale