SharedContext

Class for a SharedContext. A SharedContext represents a shared context in the application.

Constructors

Link copied to clipboard
constructor(map: MutableMap<String, Any>)

Properties

Link copied to clipboard

The map that holds the shared context.

Functions

Link copied to clipboard
inline fun <T> getValue(key: String): T?

Returns the value of a specific key from the shared context.

Link copied to clipboard
infix fun String.to(value: Any)

Sets a value in the shared context.