isClient property

bool get isClient

Whether the transport acts as a client. This is equal to !isServer.

Implementation

bool get isClient => !isServer;