Returns this data as Labels.
Make sure to check if this object is Labels with isLabels.
Labels get labels => this.data as Labels;