isServer top-level constant

const isServer = const String.fromEnvironment('dss') == 'server'

Determine if DSS is running on the server.

On the server, please set an environment variable dss to server.

dart main.dart --Ddss=server

Implementation

const isServer = const String.fromEnvironment('dss') == 'server'