isConnected property

bool get isConnected

Returns true if node is connected and false otherwise.

MDN Reference

Implementation

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