SocksServerConfig constructor

const SocksServerConfig({
  1. @JsonKey.new(name: 'auth') SocksAuthMethod? authMethod,
  2. List<SocksAccount>? accounts,
  3. bool? udp,
  4. @JsonKey.new(name: 'ip') XrayAddress? host,
  5. int? userLevel,
})

Implementation

const factory SocksServerConfig({
  @JsonKey(name: 'auth') SocksAuthMethod? authMethod,
  List<SocksAccount>? accounts,
  bool? udp,
  @JsonKey(name: 'ip') XrayAddress? host,
  int? userLevel,
}) = _SocksServerConfig;