setTargetComplete

open fun setTargetComplete(targetKey: String)

Sets the target with the given key to complete.

Make sure to call saveChanges after this.


open fun setTargetComplete(targetKey: String, isComplete: Boolean)

Sets the completion status of the target with the given key.

Make sure to call saveChanges after this.