id property

String get id

Returns the value of element's id content attribute. Can be set to change it.

MDN Reference

Implementation

_i2.String get id => _i4.getProperty(
      this,
      'id',
    );
set id (String value)

Implementation

set id(_i2.String value) {
  _i4.setProperty(
    this,
    'id',
    value,
  );
}