ServerConfig.withEnvironment constructor

ServerConfig.withEnvironment({
  1. ConnectionAuth? connectionAuth,
  2. String? motdPath,
})

Implementation

ServerConfig.withEnvironment({
  ConnectionAuth? connectionAuth,
  String? motdPath,
})  : connectionAuth = connectionAuth ?? _defaultAuth(),
      motdPath = motdPath ?? Platform.environment['IRCD_MOTD'];