adapter property

ServerAdapter adapter
getter/setter pair

The server work of this isolate: the adapter of the type of the server. listen sets it, before the first request. Before that (eg. a request object in a unit test) it is the native one.

Implementation

static ServerAdapter adapter = const NativeServerAdapter();