service / com.scurab.android.uitor.extract2 / ExtractingContext / put

put

fun <T> put(name: String, minApi: Int, item: T, convertToString: Boolean = true, codeBlock: T.() -> Any?): Unit

Put an item into dataset. Swallowing an exception if thrown. name a name of the property minApi minimum supported API for the property convertToString convert value to a string, call a toString on the reference codeBlock lambda to provide a extracted property

fun <T> put(name: String, item: T): Unit