wasClean property

bool get wasClean

Returns true if the connection closed cleanly; false otherwise.

MDN Reference

Implementation

_i2.bool get wasClean => _i4.getProperty(
      this,
      'wasClean',
    );