method

new

new(label = nil, *parts)
public

Creates a new ListItem with an optional label containing parts