WireGuardConfig constructor
const
WireGuardConfig({
- bool? noKernelTun,
- required String secretKey,
- List<
String> ? address, - List<
WireGuardPeerConfig> ? peers, - @JsonKey.new(name: 'mtu') int? mtu,
- List<
int> ? reserved, - XrayTargetStrategy? domainStrategy,
Implementation
const factory WireGuardConfig({
bool? noKernelTun,
required String secretKey,
List<String>? address,
List<WireGuardPeerConfig>? peers,
@JsonKey(name: 'mtu') int? mtu,
List<int>? reserved,
XrayTargetStrategy? domainStrategy,
}) = _WireGuardConfig;