isServer property
bool
get
isServer
Whether we're running on the server.
Implementation
bool get isServer => type == RuntimeType.server || type == RuntimeType.ssg;
Whether we're running on the server.
bool get isServer => type == RuntimeType.server || type == RuntimeType.ssg;