isServer property

bool get isServer

Whether this component is currently running on the server (SSR / VM).

Implementation

bool get isServer => !isBrowser;