isServer property

bool get isServer

Whether the current runtime is a server (Dart VM) environment.

Implementation

static bool get isServer => current == LarkPlatform.server;