name

Return the task’s name, if it was set during its creation.

Declaration

var name: String? { get }