ProxyModel constructor

ProxyModel({
  1. required String ip,
  2. required int port,
  3. String? countryCode,
  4. bool isHttps = false,
  5. ProxyProtocol protocol = ProxyProtocol.http,
  6. String? anonymityLevel,
  7. String? region,
  8. String? isp,
  9. double? speed,
  10. bool? supportsWebsockets,
  11. ProxyAuth? auth,
  12. int? lastChecked,
  13. int? responseTime,
  14. ProxyScore? score,
  15. String? username,
  16. String? password,
})

Creates a new ProxyModel instance

Implementation

ProxyModel({
  required super.ip,
  required super.port,
  super.countryCode,
  super.isHttps,
  super.protocol,
  super.anonymityLevel,
  super.region,
  super.isp,
  super.speed,
  super.supportsWebsockets,
  super.auth,
  this.lastChecked,
  this.responseTime,
  super.score,
  super.username,
  super.password,
});