TunConfig constructor

const TunConfig({
  1. String? name,
  2. @JsonKey.new(name: 'mtu') int? mtu,
  3. List<String>? gateway,
  4. @JsonKey.new(name: 'dns') List<String>? dns,
  5. int? userLevel,
  6. List<String>? autoSystemRoutingTable,
  7. String? autoOutboundsInterface,
})

Implementation

const factory TunConfig({
  String? name,
  @JsonKey(name: 'mtu') int? mtu,
  List<String>? gateway,
  @JsonKey(name: 'dns') List<String>? dns,
  int? userLevel,
  List<String>? autoSystemRoutingTable,
  String? autoOutboundsInterface,
}) = _TunConfig;