Function

toMutableParameters

Gets a mutable copy of Parameters, containing all key value pairs.

toMutableParameters

Source set: Android
public fun ActionParameters.toMutableParameters(): MutableActionParameters

Gets a mutable copy of Parameters, containing all key value pairs. This can be used to edit the parameter data without creating a new object.

This is similar to Map.toMutableMap.

Return

a MutableParameters with all the same parameters as this Parameters

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: