AddProxy constructor

const AddProxy({
  1. required String server,
  2. required int port,
  3. required bool enable,
  4. required ProxyType type,
})

Adds a proxy server for network requests. Can be called before authorization

Implementation

const AddProxy({
  required this.server,
  required this.port,
  required this.enable,
  required this.type,
});