Language

value class Language(val value: String)

Represents a language code.

Throws

if the language code is blank or exceeds MAX_LANGUAGE_LENGTH characters.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

The string representation of the language code (e.g., "en", "pt-BR").

Functions

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