setter

abstract var setter: Boolean?(source)

If true, object[methodName] is treated as a setter. This option cannot be used with the getter option.