set

operator fun <K, V> MutableLiveData<Map<K, V>>.set(key: K, valueToAdd: V)

Maps key to valueToAdd in LiveData's value. Creates a map if the LiveData has no value yet.