Mapped

data class Mapped(val formatArgs: Map<String, Any>) : TolgeeMessageParams(source)

Represents a mapped parameter structure, used for resolving messages by name.

This class is part of the TolgeeMessageParams interface and allows mapping of parameter names to their corresponding values. It is particularly useful in contexts where message parameter resolution is performed based on string keys.

Constructors

Link copied to clipboard
constructor(formatArgs: Map<String, Any>)

Properties

Link copied to clipboard

A map of parameter names to their corresponding values. These are the arguments used to format a message.

Functions

Link copied to clipboard
open operator override fun get(name: CharSequence): Any?

Retrieves the value associated with the given parameter name from the map of parameters.