CRDTSocketServer constructor
CRDTSocketServer({
- List<
ServerSyncPlugin> ? plugins,
Constructor
plugins
is the list of plugins to use for the server.
The plugins are used to extend the server functionality.
Implementation
CRDTSocketServer({
List<ServerSyncPlugin>? plugins,
}) : plugins = List.unmodifiable(plugins ?? <ServerSyncPlugin>[]) {
for (final plugin in this.plugins) {
plugin._server = this;
}
}