setter Parameter
Value parameter of the setter of this property, if this is a var
property and parameter is present. Parameter is present if and only if the setter is not default:
var foo: String = ""
set(param) {
field = param.removePrefix("bar")
}
Content copied to clipboard