label property

String get label

Returns the text track label, if there is one, or the empty string otherwise (indicating that a custom label probably needs to be generated from the other attributes of the object if the object is exposed to the user).

MDN Reference

Implementation

_i2.String get label => _i4.getProperty(
      this,
      'label',
    );