builtIn static method

ServerAdapter? builtIn(
  1. ServerAdapter? server
)

The adapter that binds with the settings of AppConfig: server, or the native one when it is null. Null for a CustomServer: its binder sets up its own server.

Implementation

static ServerAdapter? builtIn(ServerAdapter? server) =>
    server is CustomServer ? null : server ?? const NativeServerAdapter();