previousElementSibling property

Element? previousElementSibling

Returns the first preceding sibling that is an element, and null otherwise.

MDN Reference

Implementation

_i3.Element? get previousElementSibling => _i4.getProperty(
      this,
      'previousElementSibling',
    );