isClient property

bool get isClient

Whether we're running on the client.

Implementation

bool get isClient => !isServer;